mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-02-01 22:48:03 +00:00
Always map mac keys, even on other platforms (#17618)
This commit is contained in:
committed by
GitHub
parent
57b57cc997
commit
d75dc88de6
@@ -565,7 +565,9 @@ function* emitKeys(
|
||||
shift = /^[A-Z]$/.exec(ch) !== null;
|
||||
alt = escaped;
|
||||
insertable = true;
|
||||
} else if (MAC_ALT_KEY_CHARACTER_MAP[ch] && process.platform === 'darwin') {
|
||||
} else if (MAC_ALT_KEY_CHARACTER_MAP[ch]) {
|
||||
// Note: we do this even if we are not on Mac, because mac users may
|
||||
// remotely connect to non-Mac systems.
|
||||
name = MAC_ALT_KEY_CHARACTER_MAP[ch];
|
||||
alt = true;
|
||||
} else if (sequence === `${ESC}${ESC}`) {
|
||||
|
||||
Reference in New Issue
Block a user