[BUG] The TUI is merging lines of text when the terminal window is small #7113

Open
opened 2026-02-16 18:06:13 -05:00 by yindo · 1 comment
Owner

Originally created by @doktorjevsky on GitHub (Jan 21, 2026).

Originally assigned to: @kommander on GitHub.

Description

The title pretty much describes it. If the terminal window is small enough, the TUI will merge separate lines of text into a single line. The bug is not severe: it just looks a bit bad

Plugins

none

OpenCode version

1.1.30

Steps to reproduce

  1. run opencode in a new terminal (I've reproduced the bug in Ghostty and the VS Code terminal)
  2. Reduce the height of the terminal window until the text merge. When using Ghostty, this happens at height "14" (see attachment)

Screenshot and/or share link

https://github.com/user-attachments/assets/d460ed5e-d6bb-4f5b-a626-fc17b67a3606

Operating System

Ubuntu 24.04.3

Terminal

Ghostty

Originally created by @doktorjevsky on GitHub (Jan 21, 2026). Originally assigned to: @kommander on GitHub. ### Description The title pretty much describes it. If the terminal window is small enough, the TUI will merge separate lines of text into a single line. The bug is not severe: it just looks a bit bad ### Plugins none ### OpenCode version 1.1.30 ### Steps to reproduce 1. run opencode in a new terminal (I've reproduced the bug in Ghostty and the VS Code terminal) 2. Reduce the height of the terminal window until the text merge. When using Ghostty, this happens at height "14" (see attachment) ### Screenshot and/or share link https://github.com/user-attachments/assets/d460ed5e-d6bb-4f5b-a626-fc17b67a3606 ### Operating System Ubuntu 24.04.3 ### Terminal Ghostty
yindo added the opentuibug labels 2026-02-16 18:06:13 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 21, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #3547: [FEATURE]: Small screen compatibility
  • #4332: bug: input field text is invisible when window is small
  • #7943: TUI crashes when resizing terminal window (Windows / CMD)
  • #3803: Overlapping data in the sidepanel on small screens/tiles
  • #9686: (tui) sidebar overflowing out of the viewport at smaller widths/size

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 21, 2026): This issue might be a duplicate of existing issues. Please check: - #3547: [FEATURE]: Small screen compatibility - #4332: bug: input field text is invisible when window is small - #7943: TUI crashes when resizing terminal window (Windows / CMD) - #3803: Overlapping data in the sidepanel on small screens/tiles - #9686: (tui) sidebar overflowing out of the viewport at smaller widths/size Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7113