CommandCodeAI / CommandCodeAI/desktop

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

Offen
#26 1 Kommentar 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@aliarain arbeitet bereits daran.

Seit 07.9.2026.

bug
Vorherrschende Sprache
Shell
Sterne
80
Forks
2
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.