Merge pull request #3535 from Eugeny/fix-duplicate-ime-input

input: prevent duplicate IME input on Linux - fixes #3533
This commit is contained in:
Daniel Imms
2021-12-17 08:49:49 -08:00
committed by GitHub
+1 -1
View File
@@ -1185,7 +1185,7 @@ export class Terminal extends CoreTerminal implements ITerminal {
protected _inputEvent(ev: InputEvent): boolean {
// Only support emoji IMEs when screen reader mode is disabled as the event must bubble up to
// support reading out character input which can doubling up input characters
if (ev.data && ev.inputType === 'insertText' && !this.optionsService.options.screenReaderMode) {
if (ev.data && ev.inputType === 'insertText' && !ev.composed && !this.optionsService.options.screenReaderMode) {
if (this._keyPressHandled) {
return false;
}