Message layout sometimes not rendered full-width #1608

Open
opened 2026-02-16 17:31:44 -05:00 by yindo · 2 comments
Owner

Originally created by @sebastien on GitHub (Sep 5, 2025).

Originally assigned to: @thdxr on GitHub.

In 0.6.4, in a terminal with tmux I sometimes (often, but not always) have conversation messages not rendered at full width.

Image

The context is that I use tmux to multiplex terminals, and typically have opencode on a right vertical pane about 1/3 of the terminal width. I would often collapse and expand it, which sometimes lead to the problem above. What I suppose may be happening is that the terminal resize event is not processed (or partially processed) and that opencode thinks the panel is still smaller than what it is.

Noting also that resizing the terminal does not fix the problem.

Originally created by @sebastien on GitHub (Sep 5, 2025). Originally assigned to: @thdxr on GitHub. In `0.6.4`, in a terminal with `tmux` I sometimes (often, but not always) have conversation messages not rendered at full width. <img width="1522" height="386" alt="Image" src="https://github.com/user-attachments/assets/041e8280-6232-4e78-b230-bbf094a4cbef" /> The context is that I use tmux to multiplex terminals, and typically have opencode on a right vertical pane about 1/3 of the terminal width. I would often collapse and expand it, which sometimes lead to the problem above. What I suppose may be happening is that the terminal resize event is not processed (or partially processed) and that opencode thinks the panel is still smaller than what it is. Noting also that resizing the terminal does not fix the problem.
yindo added the opentuibug labels 2026-02-16 17:31:44 -05:00
Author
Owner

@mirsella commented on GitHub (Oct 29, 2025):

still happening. not using tmux, just wezterm and window resizing

@mirsella commented on GitHub (Oct 29, 2025): still happening. not using tmux, just wezterm and window resizing
Author
Owner

@sebastien commented on GitHub (Nov 7, 2025):

Reporting that the issues happen with the new opentui implementation as well, often after an average session (100K tokens), resizing a pane leads to a blank window for the message history.

@sebastien commented on GitHub (Nov 7, 2025): Reporting that the issues happen with the new opentui implementation as well, often after an average session (100K tokens), resizing a pane leads to a blank window for the message history.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1608