[PR #8960] fix(opentui): prevent long session titles from wrapping #12925

Closed
opened 2026-02-16 18:17:48 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/8960

State: closed
Merged: No


Summary

  • Add wrapMode="none" to the Title component to prevent long session titles from creating an empty line

Fixes #8916

Problem

When a session title is very long, the default wrapMode="word" causes the text to wrap to a new line, creating an unwanted empty line in the header.

Solution

Added wrapMode="none" to the <text> element in the Title component, consistent with how ContextInfo already handles this on line 25.

Verification

  • Ran bun turbo typecheck - passes
  • The fix follows the same pattern used in ContextInfo component
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/8960 **State:** closed **Merged:** No --- ## Summary - Add `wrapMode="none"` to the Title component to prevent long session titles from creating an empty line Fixes #8916 ## Problem When a session title is very long, the default `wrapMode="word"` causes the text to wrap to a new line, creating an unwanted empty line in the header. ## Solution Added `wrapMode="none"` to the `<text>` element in the Title component, consistent with how `ContextInfo` already handles this on line 25. ## Verification - Ran `bun turbo typecheck` - passes - The fix follows the same pattern used in `ContextInfo` component
yindo added the pull-request label 2026-02-16 18:17:48 -05:00
yindo closed this issue 2026-02-16 18:17:48 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12925