co-mono/packages/tui/src
herr kaste f129ac93c5
fix(tui): load koffi via createRequire in ESM (#1627)
The previous lazy-loading change switched to require("koffi") inside
enableWindowsVTInput(). In ESM, require is undefined, so the call
threw and VT input mode was silently not enabled on Windows.

Use createRequire(import.meta.url) at module scope and
cjsRequire("koffi") at the call site. This keeps koffi externalized
for Bun binaries while restoring Windows VT input behavior, including
multiline paste handling.
2026-02-25 12:05:27 +01:00
..
components Add the kill ring and undo features to the Input component (#1373) 2026-02-07 15:47:27 +01:00
autocomplete.ts fix(tui): scope @ fuzzy search to path prefixes\n\ncloses #1423 2026-02-12 21:26:47 +01:00
editor-component.ts feat(tui, coding-agent): add pasteToEditor to ExtensionUIContext (#1351) 2026-02-07 15:55:08 +01:00
fuzzy.ts More fuzzy finder (#860) 2026-01-19 22:22:51 +01:00
index.ts fix(tui): proper Kitty image ID management and cleanup 2026-01-22 04:39:58 +01:00
keybindings.ts feat(tui,coding-agent): add ctrl+b/ctrl+f cursor navigation keybindings (#1053) 2026-01-30 01:43:54 +01:00
keys.ts fix(tui): prevent Kitty protocol base layout key from causing false shortcut matches 2026-02-01 01:25:00 +01:00
kill-ring.ts Add the kill ring and undo features to the Input component (#1373) 2026-02-07 15:47:27 +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 perf(tui): use startsWith short-circuit in isImageLine 2026-01-30 17:07:43 +01:00
terminal.ts fix(tui): load koffi via createRequire in ESM (#1627) 2026-02-25 12:05:27 +01:00
tui.ts feat: add terminal input hook for extensions 2026-02-12 20:45:33 +01:00
undo-stack.ts Add the kill ring and undo features to the Input component (#1373) 2026-02-07 15:47:27 +01:00
utils.ts feat(tui): hardware cursor positioning for IME support 2026-01-16 04:30:07 +01:00