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:
N. Taylor Mullen
2026-01-12 20:14:01 -08:00
committed by GitHub
parent b81fe68325
commit 6adae9f775
3 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -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
}, [