co-mono/packages/tui/src
Mario Zechner f9064c2f69 feat(tui): add overlay compositing for ctx.ui.custom() (#558)
Adds overlay rendering capability to the TUI, enabling floating modal
components that render on top of existing content without clearing the screen.

- Add showOverlay(), hideOverlay(), hasOverlay() methods to TUI
- Implement ANSI-aware line compositing via extractSegments()
- Support overlay stack (multiple overlays, later on top)
- Add { overlay: true } option to ctx.ui.custom()
- Add overlay-test.ts example extension

Also fixes pre-existing bug where bash tool output cached visual lines
at fixed terminal width, causing crashes on terminal resize.

Co-authored-by: Nico Bailon <nico.bailon@gmail.com>
2026-01-08 22:40:42 +01:00
..
components Improve OAuth login UI with consistent dialog component 2026-01-05 19:58:44 +01:00
autocomplete.ts TUI: Improve file completion display (fixes #280) 2025-12-22 16:36:42 +01:00
editor-component.ts feat(coding-agent): add ctx.ui.setEditorComponent() extension API 2026-01-07 16:11:49 +01:00
index.ts fix(tui): handle batched input over SSH with StdinBuffer 2026-01-07 17:50:06 +01:00
keybindings.ts fix(tui): remove alt+enter from newLine default keybinding 2026-01-05 23:17:34 +01:00
keys.ts fix(tui): matchesKey now matches Kitty sequences for unmodified letter keys 2026-01-07 00:57:10 +01:00
stdin-buffer.ts fix(tui): handle batched input over SSH with StdinBuffer 2026-01-07 17:50:06 +01:00
terminal-image.ts Fix Ghostty detection inside tmux for inline images (#299) 2025-12-24 12:04:41 +01:00
terminal.ts fix(tui): handle batched input over SSH with StdinBuffer 2026-01-07 17:50:06 +01:00
tui.ts feat(tui): add overlay compositing for ctx.ui.custom() (#558) 2026-01-08 22:40:42 +01:00
utils.ts feat(tui): add overlay compositing for ctx.ui.custom() (#558) 2026-01-08 22:40:42 +01:00