mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-24 03:54:43 -07:00
fix(cli): fix enabling kitty codes on Windows Terminal (#21136)
This commit is contained in:
committed by
GitHub
parent
09259a8ec4
commit
ddafd79661
@@ -138,9 +138,6 @@ export class TerminalCapabilityManager {
|
||||
process.stdin.setRawMode(false);
|
||||
}
|
||||
this.detectionComplete = true;
|
||||
|
||||
this.enableSupportedModes();
|
||||
|
||||
resolve();
|
||||
};
|
||||
|
||||
@@ -246,9 +243,11 @@ export class TerminalCapabilityManager {
|
||||
enableSupportedModes() {
|
||||
try {
|
||||
if (this.kittySupported) {
|
||||
debugLogger.log('Enabling Kitty keyboard protocol');
|
||||
enableKittyKeyboardProtocol();
|
||||
this.kittyEnabled = true;
|
||||
} else if (this.modifyOtherKeysSupported) {
|
||||
debugLogger.log('Enabling modifyOtherKeys');
|
||||
enableModifyOtherKeys();
|
||||
}
|
||||
// Always enable bracketed paste since it'll be ignored if unsupported.
|
||||
|
||||
Reference in New Issue
Block a user