vietc/engine
Khoa Vo 3858aa955c feat: implement Backspace-Replay pattern for perfect engine sync
- Add Engine::replay_keystrokes() — creates fresh engine and replays
  all keystrokes to compute correct screen output from scratch
- Add Daemon::replay_and_inject() — tracks keystroke history and
  screen output, computes diff (backspaces + new text) on each keypress
- Add Daemon::replay_backspace() — pops from history, replays, diffs
- Handle flush chars (space, period, etc.) separately — commit word,
  type char, clear history
- Add FocusIn/FocusOut detection for engine reset on focus loss
- Add CPU pinning (P-cores 0-3) + nice(-10) priority boost
- Clean up 9 dead code warnings (unused fields, constants, types)
- Add replay_keystrokes tests for Telex, VNI, and backspace
- 255 tests pass (was 252)
2026-06-26 08:40:38 +07:00
..
examples Optimize typing performance and preserve casing on replaced syllables 2026-06-25 19:59:46 +07:00
src feat: implement Backspace-Replay pattern for perfect engine sync 2026-06-26 08:40:38 +07:00
tests X11 capture: proper key tracking, direct clipboard, VNI default 2026-06-26 07:56:52 +07:00
Cargo.toml Optimize typing performance and preserve casing on replaced syllables 2026-06-25 19:59:46 +07:00
gen_tests_output.json Fix typing race conditions with unified channel injection, add persistent logging, and align config schemas 2026-06-24 20:30:14 +07:00