co-mono/packages/tui/src
Mario Zechner f3b7b0b179 fix(tui): handle batched input over SSH with StdinBuffer
Adds StdinBuffer class (adapted from OpenTUI, MIT license) to split
batched stdin into individual sequences before they reach components.

This fixes key presses being dropped when batched with release events,
which commonly occurs over SSH due to network buffering.

- Each handleInput() call now receives a single event
- matchesKey() and isKeyRelease() work correctly without batching awareness
- Properly buffers incomplete escape sequences across chunks
- Handles bracketed paste mode

Addresses #538
2026-01-07 17:50:06 +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(coding-agent): add ctx.ui.setEditorComponent() extension API 2026-01-07 16:11:49 +01:00
utils.ts fix(tui): trim trailing whitespace in wrapped lines to prevent width overflow 2026-01-04 22:15:25 -06:00