mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-09 16:24:45 +01:00
Merge pull request #197412 from microsoft/merogge/acc-enter
This commit is contained in:
@@ -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)$/);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user