vietc/engine/tests
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
..
snapshots Optimize typing performance and preserve casing on replaced syllables 2026-06-25 19:59:46 +07:00
testdata Optimize typing performance and preserve casing on replaced syllables 2026-06-25 19:59:46 +07:00
auto_restore.rs Fix flush spacing regression while preserving auto-restore 2026-06-26 10:47:43 +00:00
tone_placement.rs fix: correct tone placement for qu/gi onset glides and uê/uơ clusters 2026-06-26 10:10:42 +00:00