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 history survives a restart on Windows again. It was replayed correctly and then erased a fraction of a second later: PowerShell clears the entire screen when it prints its first prompt, and the replayed history was still sitting on that screen. The pane then saved the emptied terminal over the stored history, so it was lost for good — every restart, not just the second one. A pane split did the same thing, because a shell repaints the screen when its size changes. The history is now placed into the scrollback before the shell starts, out of reach of both repaints. One visible change: after a restart a pane opens on a clean prompt and the previous session is one scroll up, rather than filling the screen — on macOS as well, so both systems behave alike