test(terminal): replay the native Windows IME Shift shape
Adapted from the physical Windows event trace contributed on #11878.
This commit is contained in:
@@ -313,6 +313,7 @@ describe('Windows IME keyboard ownership', () => {
|
||||
})
|
||||
|
||||
it.each([
|
||||
{ code: 'ShiftLeft', shiftKey: true },
|
||||
{ code: 'KeyQ', shiftKey: true },
|
||||
{ code: 'KeyW', ctrlKey: true }
|
||||
])('keeps an IME-consumed $code out of terminal shortcuts', (modifier) => {
|
||||
|
||||
@@ -350,6 +350,7 @@ describe('isTerminalImeProcessEnter', () => {
|
||||
{ shiftKey: false },
|
||||
{ ctrlKey: true },
|
||||
{ altKey: true },
|
||||
{ code: 'ShiftLeft' },
|
||||
{ code: 'KeyQ' },
|
||||
{ code: 'ArrowLeft' }
|
||||
])('rejects a non-IME or ambiguous Process key', (override) => {
|
||||
|
||||
Reference in New Issue
Block a user