mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-22 11:04:42 -07:00
fix: Set both tab and window title instead of just window title (#16464)
Co-authored-by: Oleksandr Nikitin <oleksandr@tvori.info>
This commit is contained in:
@@ -1362,7 +1362,7 @@ Logging in with Google... Restarting Gemini CLI to continue.
|
||||
// Only update the title if it's different from the last value we set
|
||||
if (lastTitleRef.current !== paddedTitle) {
|
||||
lastTitleRef.current = paddedTitle;
|
||||
stdout.write(`\x1b]2;${paddedTitle}\x07`);
|
||||
stdout.write(`\x1b]0;${paddedTitle}\x07`);
|
||||
}
|
||||
// Note: We don't need to reset the window title on exit because Gemini CLI is already doing that elsewhere
|
||||
}, [
|
||||
|
||||
Reference in New Issue
Block a user