Fix Windows dev terminal PATH and shell icons (#2152)

This commit is contained in:
Jinwoo Hong
2026-05-17 15:43:53 -04:00
committed by GitHub
parent a9fbcbc0f6
commit 102ca09a38
8 changed files with 269 additions and 40 deletions
+3 -4
View File
@@ -335,10 +335,9 @@ export type TerminalTab = {
createdAt: number
/** Bumped on shutdown so TerminalPane remounts with a fresh PTY. */
generation?: number
/** Why: records the shell this tab was explicitly opened with (e.g. 'wsl.exe'
* from the "+" submenu) so the PTY can re-use the same shell on reconnect
* without needing the user to interact with the tab again. Undefined means
* "use the default shell setting". */
/** Why: records the shell this tab was opened with (e.g. 'wsl.exe') so the
* PTY and tab icon stay stable even if the default shell setting changes
* later. Older persisted tabs may omit this field. */
shellOverride?: string
/** Why: when `setActiveWorktree` bumps generation on all-dead tabs to drive a
* TerminalPane remount, the fresh PTY that results is caused by navigation,