vietc/engine
Devin AI 51949fe02b Fix flush spacing regression while preserving auto-restore
The auto-restore merge reintroduced the spacing bug: on every flush char
the engine re-emitted a Replace and the daemon backspaced+retyped the
already-on-screen composed word, racing against the separately-forwarded
flush char and eating spaces (mất sự->mấtsự, đầu ngã xuống->đầungãxuống).

Now flush only backspaces+retypes when auto-restore actually changes the
word (English/invalid Vietnamese -> raw keystrokes). For a normal composed
word the engine returns None and the daemon types only the flush char,
leaving the correct word untouched on screen.

Co-Authored-By: vndangkhoa <vonguyendangkhoa@gmail.com>
2026-06-26 10:47:43 +00:00
..
examples Optimize typing performance and preserve casing on replaced syllables 2026-06-25 19:59:46 +07:00
src Fix flush spacing regression while preserving auto-restore 2026-06-26 10:47:43 +00:00
tests Fix flush spacing regression while preserving auto-restore 2026-06-26 10:47:43 +00: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