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> |
||
|---|---|---|
| .. | ||
| bamboo.rs | ||
| engine.rs | ||
| english.rs | ||
| input_method.rs | ||
| lib.rs | ||
| spelling.rs | ||
| telex.rs | ||
| tests.rs | ||
| vni.rs | ||