You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could see that working with a switch in the tui config, default off to not disrupt.
@kommander hmm. is a switch necessary? the session dialog already reserves two lines when the session names are too long. it just doesn't let the text the continue to the second line, per the screenshots.
my changes wouldnot change the amount of lines reserved, just allow the names the continue into the second line, and if it cant fit, follow existing behaviour to truncate with a ...
Ah, I thought it was using Opentui text wrapping. I think it is okay then. It probably currently breaks for CJK/Unicode though if it's manual wrapping and truncation.
Ah, I thought it was using Opentui text wrapping. I think it is okay then. It probably currently breaks for CJK/Unicode though if it's manual wrapping and truncation.
I rebased #6166 onto the latest dev and updated the implementation to use display-width-aware wrapping/truncation instead of raw string length, so the CJK/Unicode case should be in much better shape now.
Current scope is still the same:
Sessions dialog only
other dialogs remain single-line by default
focused tests added for Unicode/CJK, footer reservation, and truncation behavior
If you have a preferred direction beyond that, happy to rework it further.
Activity
kommander commentedon Apr 15, 2026
I could see that working with a switch in the tui config, default off to not disrupt.
CasualDeveloper commentedon Apr 15, 2026
@kommander hmm. is a switch necessary? the session dialog already reserves two lines when the session names are too long. it just doesn't let the text the continue to the second line, per the screenshots.
my changes wouldnot change the amount of lines reserved, just allow the names the continue into the second line, and if it cant fit, follow existing behaviour to truncate with a
...kommander commentedon Apr 16, 2026
Ah, I thought it was using Opentui text wrapping. I think it is okay then. It probably currently breaks for CJK/Unicode though if it's manual wrapping and truncation.
CasualDeveloper commentedon Apr 17, 2026
Thanks @kommander, good catch.
I rebased
#6166onto the latestdevand updated the implementation to use display-width-aware wrapping/truncation instead of raw string length, so the CJK/Unicode case should be in much better shape now.Current scope is still the same:
If you have a preferred direction beyond that, happy to rework it further.
[-][QUESTION] Allow two-line session titles in TUI Sessions dialog[/-][+][QUESTION] Allow two-line session titles in TUI Sessions dialog (#6166)[/+]CasualDeveloper commentedon Jun 6, 2026
Quick update: the fork branch has been refreshed and synced to origin/dev at 4519a1d.
rekram1-node commentedon Jun 23, 2026
Automated: closing question issues.
GitHub Issues are for bug reports and feature requests only — questions / support are no longer tracked here.
If this is a bug or feature request, please open a new issue with the appropriate template.