You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[CLI] OSC 11 background color query leaks into terminal prompt after freebuff --version (v0.2.38) #1743
After upgrading freebuff CLI to v0.2.38, running non-interactive commands like freebuff --version causes the terminal's OSC 11 background color response (e.g., 11;rgb:2c2c/3737/4646) to leak directly into the next shell prompt buffer.
This appears to be a regression in v0.2.38 where the TUI / terminal theme detection (OSC 11 query) is triggered unconditionally before parsing CLI flags like --version or --help, and the process exits before reading the terminal's reply.
To Reproduce
Open KDE Konsole on Ubuntu.
Run freebuff --version (or NO_COLOR=1 freebuff --version).
Non-interactive flags such as --version and --help (or when NO_COLOR=1 is set) should exit cleanly without emitting OSC 11 terminal color queries or leaving escape sequence replies in the stdin buffer.
Environment
OS: Ubuntu Linux
Terminal: KDE Konsole
Freebuff CLI Version:0.2.38
Node.js Version:v24.12.0
Steps to reproduce
To Reproduce
Open KDE Konsole on Ubuntu.
Run freebuff --version (or NO_COLOR=1 freebuff --version).
Activity