mirror of https://github.com/garrytan/gstack.git
xterm.js already handles IME composition correctly: partial jamo are suppressed while _isComposing, and _finalizeComposition emits the final composed string through onData exactly once, asynchronously via setTimeout(0). The local workaround for #1272 sent e.data manually on compositionend — one macrotask BEFORE xterm's own emission of the same string — so every composed Korean syllable was sent to the PTY twice (안녕 → 안녕안녕). ASCII input was unaffected because it never goes through composition. Remove the custom compositionstart/compositionend listeners and let xterm deliver the final string through the normal onData path. Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| icons | ||
| background.js | ||
| content.css | ||
| content.js | ||
| inspector.css | ||
| inspector.js | ||
| manifest.json | ||
| popup.html | ||
| popup.js | ||
| sidepanel-terminal.js | ||
| sidepanel.css | ||
| sidepanel.html | ||
| sidepanel.js | ||