You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(terminal): use stale-title flag instead of overwriting inst.title
The previous approach (b51de0b) directly overwrote inst.title when
the foreground process returned to the shell, which broke Linux where
bash sets the title via PS1 escape sequences on each prompt. Replace
with a _titleStale flag that is set on non-shell→shell transitions
and cleared when onTitleChange fires, so shells that emit title
sequences (bash/Linux) work correctly while shells that don't (zsh/Mac)
still show the profile name instead of stale child titles.
Also fix the Linux integration test to trigger a prompt refresh
(echo + enter) after shell init so PS1 title escapes fire reliably.
0 commit comments