mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 08:02:17 +00:00
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>
|
||
|---|---|---|
| .. | ||
| components | ||
| autocomplete.ts | ||
| editor-component.ts | ||
| index.ts | ||
| keybindings.ts | ||
| keys.ts | ||
| stdin-buffer.ts | ||
| terminal-image.ts | ||
| terminal.ts | ||
| tui.ts | ||
| utils.ts | ||