mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-23 03:24:42 -07:00
Restore bracketed paste mode after external editor exit (#13606)
This commit is contained in:
committed by
GitHub
parent
9f9a2fa844
commit
1e715d1e5c
@@ -116,6 +116,7 @@ import { isWorkspaceTrusted } from '../config/trustedFolders.js';
|
||||
import { useAlternateBuffer } from './hooks/useAlternateBuffer.js';
|
||||
import { useSettings } from './contexts/SettingsContext.js';
|
||||
import { enableSupportedProtocol } from './utils/kittyProtocolDetector.js';
|
||||
import { enableBracketedPaste } from './utils/bracketedPaste.js';
|
||||
|
||||
const WARNING_PROMPT_DURATION_MS = 1000;
|
||||
const QUEUE_ERROR_DISPLAY_DURATION_MS = 3000;
|
||||
@@ -387,6 +388,7 @@ export const AppContainer = (props: AppContainerProps) => {
|
||||
disableLineWrapping();
|
||||
app.rerender();
|
||||
}
|
||||
enableBracketedPaste();
|
||||
enableSupportedProtocol();
|
||||
refreshStatic();
|
||||
}, [refreshStatic, isAlternateBuffer, app, config]);
|
||||
|
||||
Reference in New Issue
Block a user