Skip to content

[QUESTION] Allow two-line session titles in TUI Sessions dialog #22480

@CasualDeveloper

Description

@CasualDeveloper

Replacement for #6165 (auto-closed by stale bot) to keep discussion active.

Would maintainers accept letting long session names wrap to two lines in the TUI Sessions dialog?

PR #6166 is rebased and ready:
#6166

Scope is intentionally narrow:

  • opt-in maxLines on DialogSelect
  • enabled only for the Sessions dialog
  • other dialogs stay single-line by default
  • focused tests for wrapping and truncation

Before:
before

After:
after

If this direction is acceptable, I can keep the PR updated. If not, I can close or rework it.

Metadata

Metadata

Assignees

Labels

opentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions