mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 15:03:31 +00:00
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 |
||
|---|---|---|
| .. | ||
| autocomplete.test.ts | ||
| chat-simple.ts | ||
| editor.test.ts | ||
| image-test.ts | ||
| key-tester.ts | ||
| markdown.test.ts | ||
| stdin-buffer.test.ts | ||
| test-themes.ts | ||
| truncated-text.test.ts | ||
| virtual-terminal.ts | ||
| wrap-ansi.test.ts | ||