mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-11 14:40:52 -07:00
feat: Detect background color (#15132)
This commit is contained in:
@@ -450,6 +450,7 @@ export class Config {
|
||||
|
||||
private readonly experimentalJitContext: boolean;
|
||||
private contextManager?: ContextManager;
|
||||
private terminalBackground: string | undefined = undefined;
|
||||
|
||||
constructor(params: ConfigParameters) {
|
||||
this.sessionId = params.sessionId;
|
||||
@@ -820,6 +821,14 @@ export class Config {
|
||||
this.sessionId = sessionId;
|
||||
}
|
||||
|
||||
setTerminalBackground(terminalBackground: string | undefined): void {
|
||||
this.terminalBackground = terminalBackground;
|
||||
}
|
||||
|
||||
getTerminalBackground(): string | undefined {
|
||||
return this.terminalBackground;
|
||||
}
|
||||
|
||||
shouldLoadMemoryFromIncludeDirectories(): boolean {
|
||||
return this.loadMemoryFromIncludeDirectories;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user