vietc/engine/src
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
..
bamboo.rs fix: correct tone placement for qu/gi onset glides and uê/uơ clusters 2026-06-26 10:10:42 +00:00
engine.rs Fix flush spacing regression while preserving auto-restore 2026-06-26 10:47:43 +00:00
english.rs feat: auto-restore English words and invalid Vietnamese syllables 2026-06-26 10:31:37 +00:00
input_method.rs fix: X11 key lookup, bamboo engine port, uinput injection overhaul 2026-06-26 15:20:03 +07:00
lib.rs feat: auto-restore English words and invalid Vietnamese syllables 2026-06-26 10:31:37 +00:00
spelling.rs Optimize typing performance and preserve casing on replaced syllables 2026-06-25 19:59:46 +07:00
telex.rs Optimize typing performance and preserve casing on replaced syllables 2026-06-25 19:59:46 +07:00
tests.rs Fix spacing bug: stop retyping finished word on flush char 2026-06-26 10:38:54 +00:00
vni.rs Optimize typing performance and preserve casing on replaced syllables 2026-06-25 19:59:46 +07:00