mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-24 03:54:43 -07:00
Restore keyboard mode when exiting the editor (#13350)
This commit is contained in:
committed by
GitHub
parent
3f8d636501
commit
84573992b4
@@ -404,7 +404,7 @@ export const InputPrompt: React.FC<InputPromptProps> = ({
|
||||
|
||||
if (key.paste) {
|
||||
// Record paste time to prevent accidental auto-submission
|
||||
if (!isTerminalPasteTrusted(kittyProtocol.supported)) {
|
||||
if (!isTerminalPasteTrusted(kittyProtocol.enabled)) {
|
||||
setRecentUnsafePasteTime(Date.now());
|
||||
|
||||
// Clear any existing paste timeout
|
||||
@@ -820,7 +820,7 @@ export const InputPrompt: React.FC<InputPromptProps> = ({
|
||||
recentUnsafePasteTime,
|
||||
commandSearchActive,
|
||||
commandSearchCompletion,
|
||||
kittyProtocol.supported,
|
||||
kittyProtocol.enabled,
|
||||
tryLoadQueuedMessages,
|
||||
setBannerVisible,
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user