Merge branch 'master' into clear_texture_atlas

This commit is contained in:
Daniel Imms
2021-09-22 06:39:53 -07:00
committed by GitHub
7 changed files with 86 additions and 36 deletions
+3 -1
View File
@@ -1180,7 +1180,9 @@ export class Terminal extends CoreTerminal implements ITerminal {
* @param ev The input event to be handled.
*/
protected _inputEvent(ev: InputEvent): boolean {
if (ev.data && ev.inputType === 'insertText') {
// 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 (this._keyPressHandled) {
return false;
}