CommandCodeAI / CommandCodeAI/desktop

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

Đang mở
#26 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

@aliarain đang làm issue này rồi.

Từ ngày 7/9/2026.

bug
Ngôn ngữ chính
Shell
Star
80
Fork
2
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.