CommandCodeAI / CommandCodeAI/desktop
[Bug]: Stray ANSI Escape Characters in TUI Terminal in Desktop and Reload
未关闭
@aliarain 已经在做这个了。
开始于 2026年9月7日。
bug
- 主要语言
- Shell
- 星标
- 80
- 派生
- 2
- PR 合并指标
- 30 天内没有已合并 PR
描述
GUI version
0.1.9
Operating system
macOS (Apple silicon)
Reproduction steps
- Launch Desktop App
- In the terminal window that opens, navigate to a project directory for an existing project/directory where used cmd CLI before
- Launch CLI via cmd
- Use command-R (or via the View menu reload item) to reload desktop app
- See
❯ ]11;rgb:0000/0000/0000\]11;rgb:0000/0000/0000\
Looks like it inlined:
⠶ That's an OSC (Operating System Command) escape sequence — specifically OSC 11, which sets the terminal's background color.
- ] — starts an OSC sequence
- 11 — command for the default background color
- rgb:0000/0000/0000 — color in X11 rgb: notation (16-bit per channel), i.e. black
Full form is typically ESC]11;rgb:0000/0000/0000ESC\ (or with BEL \a as terminator). Terminal emulators like iTerm2, kitty,
and WezTerm send it to change their own background color.
Expected behavior
- leave input clean
Actual behavior
Left OSC (Operating System Command) escape sequence — specifically OSC 11,
Screenshots, recordings, or sanitized logs
Safety check
- I removed credentials and private project information from this report.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。