co-mono/packages/tui/src
Kao Félix 5c3c8e6f7e
Add terminal title support to TUI framework (#407)
Add setTitle() method to Terminal interface for setting window title.
Uses standard OSC escape sequence \x1b]0;...\x07 for broad terminal
compatibility (macOS Terminal, iTerm2, Kitty, WezTerm, Ghostty, etc.).

Changes:
- Add setTitle(title: string) to Terminal interface
- Implement in ProcessTerminal using OSC sequence
- Implement no-op in VirtualTerminal for testing
- Use in interactive mode to set title as "pi - <dirname>"
2026-01-02 22:00:34 +01:00
..
components Add setEditorText/getEditorText to hook UI context, improve custom() API 2026-01-01 00:04:56 +01:00
autocomplete.ts TUI: Improve file completion display (fixes #280) 2025-12-22 16:36:42 +01:00
index.ts Add setEditorText/getEditorText to hook UI context, improve custom() API 2026-01-01 00:04:56 +01:00
keys.ts Tree selector improvements: active line highlight and tool filter 2025-12-30 22:42:25 +01:00
terminal-image.ts Fix Ghostty detection inside tmux for inline images (#299) 2025-12-24 12:04:41 +01:00
terminal.ts Add terminal title support to TUI framework (#407) 2026-01-02 22:00:34 +01:00
tui.ts Add global debug key (Shift+Ctrl+D), iterative tree sorting to avoid stack overflow 2025-12-30 22:42:22 +01:00
utils.ts fix(tui): Strip OSC 8 hyperlink sequences in visibleWidth (#396) 2026-01-02 10:32:36 +01:00