mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 22:21:22 -07:00
fix(cli): add SS3 Shift+Tab support for Windows terminals (#18187)
This commit is contained in:
@@ -668,6 +668,7 @@ describe('KeypressContext', () => {
|
||||
// Reverse tabs
|
||||
{ sequence: `\x1b[Z`, expected: { name: 'tab', shift: true } },
|
||||
{ sequence: `\x1b[1;2Z`, expected: { name: 'tab', shift: true } },
|
||||
{ sequence: `\x1bOZ`, expected: { name: 'tab', shift: true } },
|
||||
// Legacy Arrows
|
||||
{
|
||||
sequence: `\x1b[A`,
|
||||
|
||||
@@ -80,6 +80,7 @@ const KEY_INFO_MAP: Record<
|
||||
OQ: { name: 'f2' },
|
||||
OR: { name: 'f3' },
|
||||
OS: { name: 'f4' },
|
||||
OZ: { name: 'tab', shift: true }, // SS3 Shift+Tab variant for Windows terminals
|
||||
'[[5~': { name: 'pageup' },
|
||||
'[[6~': { name: 'pagedown' },
|
||||
'[9u': { name: 'tab' },
|
||||
|
||||
Reference in New Issue
Block a user