CommandCodeAI / CommandCodeAI/desktop

[Bug]: Stray ANSI Escape Characters in TUI Terminal in Desktop and Reload

Aperta
#26 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@aliarain ci sta già lavorando.

Dal 7/9/2026.

bug
Lingua principale
Shell
Stelle
80
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

GUI version

0.1.9

Operating system

macOS (Apple silicon)

Reproduction steps
  1. Launch Desktop App
  2. In the terminal window that opens, navigate to a project directory for an existing project/directory where used cmd CLI before
  3. Launch CLI via cmd
  4. Use command-R (or via the View menu reload item) to reload desktop app
  5. See
Image
❯ ]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
Image
Safety check
  • I removed credentials and private project information from this report.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.