mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-16 17:11:04 -07:00
feat: Detect background color (#15132)
This commit is contained in:
@@ -121,7 +121,7 @@ import { useIncludeDirsTrust } from './hooks/useIncludeDirsTrust.js';
|
||||
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 { terminalCapabilityManager } from './utils/terminalCapabilityManager.js';
|
||||
import { useInputHistoryStore } from './hooks/useInputHistoryStore.js';
|
||||
import { enableBracketedPaste } from './utils/bracketedPaste.js';
|
||||
import { useBanner } from './hooks/useBanner.js';
|
||||
@@ -398,7 +398,7 @@ export const AppContainer = (props: AppContainerProps) => {
|
||||
app.rerender();
|
||||
}
|
||||
enableBracketedPaste();
|
||||
enableSupportedProtocol();
|
||||
terminalCapabilityManager.enableKittyProtocol();
|
||||
refreshStatic();
|
||||
}, [refreshStatic, isAlternateBuffer, app, config]);
|
||||
|
||||
@@ -1529,6 +1529,7 @@ Logging in with Google... Restarting Gemini CLI to continue.
|
||||
warningMessage,
|
||||
bannerData,
|
||||
bannerVisible,
|
||||
terminalBackgroundColor: config.getTerminalBackground(),
|
||||
}),
|
||||
[
|
||||
isThemeDialogOpen,
|
||||
@@ -1620,6 +1621,7 @@ Logging in with Google... Restarting Gemini CLI to continue.
|
||||
warningMessage,
|
||||
bannerData,
|
||||
bannerVisible,
|
||||
config,
|
||||
],
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user