Merge pull request #6681 from earendil-works/fix/set-title-after-checking-packages-windows

windows: reset pi terminal title after checking npm packages
This commit is contained in:
David Brailovsky
2026-07-15 20:10:37 +02:00
committed by GitHub
@@ -833,10 +833,18 @@ export class InteractiveMode {
});
// Start package update check asynchronously
this.checkForPackageUpdates().then((updates) => {
this.checkForPackageUpdates()
.then((updates) => {
if (updates.length > 0) {
this.showPackageUpdateNotification(updates);
}
})
.finally(() => {
// On Windows, npm can overwrite the shared console title while checking
// extension package versions. Restore Pi's title after the startup check.
if (process.platform === "win32" && this.isInitialized) {
this.updateTerminalTitle();
}
});
// Check tmux keyboard setup asynchronously