mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-21 05:52:35 +08:00
feat(cli): add bell() utility for terminal attention requests
Write ASCII BEL character to stdout when running in a TTY. Causes dock bounce on macOS, taskbar flash on Windows, and urgency hint on Linux.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// kilocode_change - new file
|
||||
export function bell() {
|
||||
if (process.stdout.isTTY) {
|
||||
process.stdout.write("\x07")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user