Merge pull request #197412 from microsoft/merogge/acc-enter

This commit is contained in:
Megan Rogge
2023-11-03 17:01:07 -07:00
committed by GitHub
@@ -778,5 +778,5 @@ function shouldHide(event: KeyboardEvent, keybindingService: IKeybindingService)
}
function shouldHandleKey(event: KeyboardEvent): boolean {
return !!event.code.match(/^Key{A-Z}|Digit{0-9}|Equal|Comma|Period|Slash|Quote|Backquote|Backslash|Minus|Semicolon|Space$/);
return !!event.code.match(/^(Key[A-Z]|Digit[0-9]|Equal|Comma|Period|Slash|Quote|Backquote|Backslash|Minus|Semicolon|Space|Enter)$/);
}