CommandCodeAI / CommandCodeAI/desktop
[Bug]: Stray ANSI Escape Characters in TUI Terminal in Desktop and Reload
Open
@aliarain is already working on this.
Since Sep 7, 2026.
bug
- Dominant language
- Shell
- Stars
- 80
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.