test(terminal): replay the native Windows IME Shift shape

Adapted from the physical Windows event trace contributed on #11878.
This commit is contained in:
KimYounghwan8750
2026-08-03 01:57:30 -07:00
committed by Neil
parent 9010c1732b
commit 6d2ebff211
2 changed files with 2 additions and 0 deletions
@@ -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) => {