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
{{ message }}
Repository navigation
Terminal left with mouse-tracking/focus-reporting enabled after CLI crashes #5120
When Copilot CLI crashes or exits abruptly, it doesn't restore the terminal modes it enabled. The parent shell then echoes every mouse movement and focus change as raw escape sequences, which leaves the tab unusable.
Terminal modes are restored on every exit path, including crashes, unhandled errors and forced termination, so the parent shell is left usable.
Additional context
OS
Windows 11 (10.0.26200), x86_64
Terminal
Windows Terminal 1.24.12741.0
Shell
PowerShell 7.6.6
The session's process log ends abruptly with routine INFO entries. There's no error, panic or shutdown entry, which suggests a hard crash rather than a handled exit.
Activity