终端渲染问题,TUI显示错位 #7216

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

Originally created by @Y-ASLant on GitHub (Jan 22, 2026).

Originally assigned to: @kommander on GitHub.

Description

TUI界面输出过程中,我尝试了Windows Terminal、Powershell5/7、Git bash、termius等会出现渲染问题,手动调整一下窗口,界面就会刷新正常显示了,但是后续对话依旧会出现该问题,每次都要手动调整窗口,相当于手动更新一下整个终端界面。但是奇怪的是Warp Terminal上却没有出现过。

验证了很多次,即使没有任何插件,干净的环境下。

Plugins

No response

OpenCode version

一直存在

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Windows 11 Pro 25H2

Terminal

Windows Terminal、Powershell5/7、Git bash、termius

Originally created by @Y-ASLant on GitHub (Jan 22, 2026). Originally assigned to: @kommander on GitHub. ### Description TUI界面输出过程中,我尝试了Windows Terminal、Powershell5/7、Git bash、termius等会出现渲染问题,手动调整一下窗口,界面就会刷新正常显示了,但是后续对话依旧会出现该问题,每次都要手动调整窗口,相当于手动更新一下整个终端界面。但是奇怪的是Warp Terminal上却没有出现过。 验证了很多次,即使没有任何插件,干净的环境下。 ### Plugins _No response_ ### OpenCode version 一直存在 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System Windows 11 Pro 25H2 ### Terminal Windows Terminal、Powershell5/7、Git bash、termius
yindo added the windowsopentuibug labels 2026-02-16 18:06:29 -05:00
Author
Owner

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

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

  • #9798: The Windows Terminal interface is not displaying correctly after answering a question (similar rendering issue on Windows Terminal)
  • #9919: 当拖动cmd窗口尺寸时,会报错崩溃 (TUI misalignment when dragging/resizing terminal window)
  • #9790: opencode cli鼠标拖动终端窗口,就会触发退出+乱码 (Window dragging causes display corruption)
  • #9757: TUI conversation view disappears after each message (UI rendering issue requiring manual refresh via /theme)
  • #9814: Garbled characters appear after launching the program on Windows system
  • #9899: The TUI is merging lines of text when the terminal window is small (text display issue related to window size changes)

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

@github-actions[bot] commented on GitHub (Jan 22, 2026): This issue might be a duplicate of existing issues. Please check: - #9798: The Windows Terminal interface is not displaying correctly after answering a question (similar rendering issue on Windows Terminal) - #9919: 当拖动cmd窗口尺寸时,会报错崩溃 (TUI misalignment when dragging/resizing terminal window) - #9790: opencode cli鼠标拖动终端窗口,就会触发退出+乱码 (Window dragging causes display corruption) - #9757: TUI conversation view disappears after each message (UI rendering issue requiring manual refresh via /theme) - #9814: Garbled characters appear after launching the program on Windows system - #9899: The TUI is merging lines of text when the terminal window is small (text display issue related to window size changes) 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#7216