[Bug]: Broken/cascading TUI rendering layout on Windows (PowerShell/CMD)
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 活跃
- 技术栈
- node.js, powershell
- 领域
- cli, desktop-dev
调研方向
Start by reproducing the layout failure in Wave Terminal v0.14.5 on Windows 10 or 11 with a local PowerShell or Command Prompt profile, then run the mentioned TUI example, npx freebuff. Compare its fixed-grid rendering with native Windows Terminal and verify that text and borders remain aligned after the fix.
由索引模型根据 Issue 内容生成。
描述
Current Behavior
Describe the Bug
When running full-screen terminal user interfaces (TUI) built with Node.js (like Freebuff, which uses blessed or ink under the hood) on Windows using a local PowerShell or CMD profile, the interface layout renders incorrectly. The text lines and border boxes break and cascade incrementally to the right side of the screen instead of aligning properly.
To Reproduce
- Open Wave Terminal on Windows (Windows 11 / Windows 10).
- Use a local profile (PowerShell or Command Prompt).
- Run a TUI application (e.g.,
npx freebuffor any advanced interactive Node.js CLI tool). - Observe the shifted, cascading render layout.
Expected Behavior
The text interface and box borders should render properly aligned to the left edge of the terminal window, maintaining a correct fixed grid width (e.g., 80 columns), just like it does in native Windows Terminal or classic CMD.
Screenshots
(PLEASE PASTE YOUR SCREENSHOT HERE)
Additional Context
- OS: Windows
- Shell: PowerShell / CMD
- Wave Terminal Version: Latest
- Attempted Fixes (did not work):
- Setting
term:fontfamilyto "Consolas" insettings.json - Forcing
"term:localshell": "cmd"and"term:localshellpath" - Setting environment variables prior to launch:
$env:TERM="xterm-256color",set COLUMNS=80,set LINES=24 - Resizing the terminal window or using
Ctrl + L(the block formatting remains permanently broken).
- Setting
Expected Behavior
The text interface and box borders should render properly aligned to the left edge of the terminal window, maintaining a correct fixed grid width, just like it does in native Windows Terminal or classic CMD.
Steps To Reproduce
Wave Version
v0.14.5
Platform
Windows
OS Version/Distribution
No response
Architecture
arm64
Anything else?
No response
- 主要语言
- Go
- 星标
- 22.3k
- 派生
- 1.1k
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
wavetermdev/waveterm 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
wavetermdev/waveterm#3481 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
wavetermdev/waveterm#3435 ·
-
难度 1/5 1 小时以内 新手友好度 85/100
wavetermdev/waveterm#3432 ·
-
enhancement triage
难度 2/5 1-3 小时 新手友好度 82/100
wavetermdev/waveterm#3431 ·
-
难度 2/5 1-3 小时 新手友好度 86/100
wavetermdev/waveterm#3428 ·
查看 wavetermdev/waveterm 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
crossplane/crossplane#7859 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
bazel-contrib/rules_go#4721 · 2 条评论 ·
-
needs-triage
难度 1/5 1 小时以内 新手友好度 92/100
-
bug carvel-triage
难度 2/5 1-3 小时 新手友好度 88/100
carvel-dev/kapp-controller#1861 ·
-
area/logging kind/bug
难度 2/5 1-3 小时 新手友好度 86/100