CodeWhale icon indicating copy to clipboard operation
CodeWhale copied to clipboard

输入框与运行时提示文字重叠

Open he1018 opened this issue 6 months ago • 4 comments

Image 此时运行时提示文字会遮盖部分对话框,导致这部分的输入无法看到 Image 如图仅显示了部分数字,前面还有一大串数字

he1018 avatar May 10 '26 08:05 he1018

什么系统,什么版本呀

Oliver-ZPLiu avatar May 10 '26 09:05 Oliver-ZPLiu

windows,版本是8.26 谢谢

he1018 avatar May 10 '26 09:05 he1018

Thanks for the screenshots — the overlap pattern is clear.

To narrow it down a bit more, could you share:

  1. The exact terminal width when this happens (run tput cols in another window with the same TUI session running).
  2. Whether you're running inside Windows Terminal, conhost (cmd.exe / PowerShell), VSCode terminal, or something else (Alacritty, Wezterm, etc.).
  3. A short paste of the input that triggered the overlap — the runtime hint length depends on cache state (Cache: 99% hit | hit X | miss Y), and we want to be sure we reproduce the exact rect math.

请提供以下信息以便定位:

  1. 终端宽度(在另一个窗口运行 tput cols)
  2. 具体使用的终端(Windows Terminal / cmd.exe / PowerShell / VSCode 终端 / 其他)
  3. 触发重叠的输入示例

Likely v0.8.28 fix candidate — composer's reserved-rows calculation doesn't appear to account for the runtime hint line on resize / long content. v0.8.27 is shipping shortly and doesn't include this fix; if it's blocking your workflow, please let us know and we'll fast-track it.

Hmbown avatar May 10 '26 15:05 Hmbown

Closing as completed on current main. Evidence: docs/CHANGELOG_ARCHIVE.md records the #1357 footer crowding fix, and crates/tui/src/tui/widgets/footer.rs includes render_drops_oversized_right_chips_before_they_crowd_left_status, which asserts the left status survives, oversized right chips are dropped, and the footer stays within the terminal width.

Hmbown avatar Jun 22 '26 18:06 Hmbown