Lutra/crates/control/tests
danny a8daf269fb M3.6: integrated terminal with PTY sessions and xterm.js sub-tabs
- crates/terminal: portable-pty sessions (ConPTY on Windows) with reader,
  writer and waiter threads, UTF-8 chunking, a 1 MiB output buffer with
  backpressure, a non-blocking input queue, resize, kill and exit codes;
  default shell pwsh -> powershell -> cmd on Windows, $SHELL or /bin/sh.
- Engine: terminal.create/input/resize/close, terminalOutput (capped per
  terminal and per pump, round-robin) and terminalExited through the pump;
  terminals close with the project and on app.quit.
- UI: Terminal tab in the bottom panel (tabs next to Find), xterm.js with
  the fit addon, sub-tabs, copy/paste, a focus rule that leaves plain Ctrl
  keys to the shell, terminal.open (Mod+Shift+T), --lt-terminal-* ANSI
  tokens in both themes (text colours AA) and a 4.5:1 minimum contrast.
- Tests: real-shell crate tests (UTF-8, backpressure), engine and TCP
  control tests, Vitest with a mocked xterm; live check on port 7936;
  docs and parity rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 21:10:37 +02:00
..
events.rs M3.10: autosave and flushDirty 2026-10-20 21:01:12 +02:00
goto.rs M2.5: symbol index and go-to commands 2026-10-17 12:53:33 +02:00
recovery.rs M1.7: crash-recovery journal and restore dialog 2026-10-16 15:56:41 +02:00
search.rs M2.3: find in files backend 2026-10-16 22:04:28 +02:00
single_instance.rs M3.7: robust CLI test deadlines 2026-10-20 20:57:16 +02:00
syntax.rs M2.7: Structure tool window and syntax.outline 2026-10-17 17:04:12 +02:00
tcp.rs M1.3: engine workspace, file and buffer commands, event stream 2026-10-14 20:24:44 +02:00
terminal.rs M3.6: integrated terminal with PTY sessions and xterm.js sub-tabs 2026-10-20 21:10:37 +02:00
theme.rs M1.10: light theme, live theme switching, editor tokens 2026-10-16 15:49:23 +02:00
toolchain.rs M3.1: PHP detection and pinned Phpactor download 2026-10-18 11:30:57 +02:00
ui_commands.rs M1.8: command palette, global keymap, UI commands 2026-10-16 16:59:43 +02:00