mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-23 19:44:30 -07:00
Restore keyboard mode when exiting the editor (#13350)
This commit is contained in:
committed by
GitHub
parent
3f8d636501
commit
84573992b4
@@ -5,13 +5,9 @@
|
||||
*/
|
||||
|
||||
import { useState } from 'react';
|
||||
import {
|
||||
isKittyProtocolEnabled,
|
||||
isKittyProtocolSupported,
|
||||
} from '../utils/kittyProtocolDetector.js';
|
||||
import { isKittyProtocolEnabled } from '../utils/kittyProtocolDetector.js';
|
||||
|
||||
export interface KittyProtocolStatus {
|
||||
supported: boolean;
|
||||
enabled: boolean;
|
||||
checking: boolean;
|
||||
}
|
||||
@@ -22,7 +18,6 @@ export interface KittyProtocolStatus {
|
||||
*/
|
||||
export function useKittyKeyboardProtocol(): KittyProtocolStatus {
|
||||
const [status] = useState<KittyProtocolStatus>({
|
||||
supported: isKittyProtocolSupported(),
|
||||
enabled: isKittyProtocolEnabled(),
|
||||
checking: false,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user