co-mono/packages/tui/src
Mario Zechner 07fad1362c feat(tui): hardware cursor positioning for IME support
- Add Focusable interface for components that need hardware cursor positioning
- Add CURSOR_MARKER (APC escape sequence) for marking cursor position in render output
- Editor and Input components implement Focusable and emit marker when focused
- TUI extracts cursor position from rendered output and positions hardware cursor
- Track hardwareCursorRow separately from cursorRow for differential rendering
- visibleWidth() and extractAnsiCode() now handle APC sequences
- Update overlay-test.ts example to demonstrate Focusable usage
- Add documentation for Focusable interface in docs/tui.md

Closes #719, closes #525
2026-01-16 04:30:07 +01:00
..
components feat(tui): hardware cursor positioning for IME support 2026-01-16 04:30:07 +01:00
autocomplete.ts feat: Add skill slash commands and fuzzy matching for all commands 2026-01-11 17:56:11 +01:00
editor-component.ts feat(coding-agent): add ctx.ui.setEditorComponent() extension API 2026-01-07 16:11:49 +01:00
fuzzy.ts feat: Add skill slash commands and fuzzy matching for all commands 2026-01-11 17:56:11 +01:00
index.ts feat(tui): hardware cursor positioning for IME support 2026-01-16 04:30:07 +01:00
keybindings.ts fix(tui): add vertical scrolling to Editor when content exceeds terminal height 2026-01-16 04:12:21 +01:00
keys.ts fix(tui): add vertical scrolling to Editor when content exceeds terminal height 2026-01-16 04:12:21 +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: keyboard shortcuts on non-Latin keyboard layouts (#718) 2026-01-14 10:28:58 +01:00
tui.ts feat(tui): hardware cursor positioning for IME support 2026-01-16 04:30:07 +01:00
utils.ts feat(tui): hardware cursor positioning for IME support 2026-01-16 04:30:07 +01:00