Repository navigation
v0.2.12
Fix: swallowing characters during streaming (IME root cause)
updateNSView was calling textView.font = font and textView.string = text on every streaming token. On macOS, modifying these properties while the input method (中文输入法) has active marked text silently cancels the in-progress candidate — causing typed characters to disappear.
Fixes:
- All
updateNSViewtext/font writes now checkmarkedRange().length == 0first — IME composition is never interrupted text.isEmpty(send-clear) now also resets the recency guard so the clear always fires correctly- Recency guard extended from 0.5s → 1.0s