[PR #7359] fix: cleanly restore terminal state on fatal error exit #12368

Closed
opened 2026-02-16 18:17:17 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/7359

State: closed
Merged: Yes


Restore terminal state when a fatal error occurs and user clicks "Exit". Currently, the terminal state looks a little mangled and captures escape sequences

SCR-20260108-llqk

With this PR, this is what it looks like

https://github.com/user-attachments/assets/f182a77d-77f2-4845-8b24-8dcbe0a789f3

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7359 **State:** closed **Merged:** Yes --- Restore terminal state when a fatal error occurs and user clicks "Exit". Currently, the terminal state looks a little mangled and captures escape sequences <img width="857" height="480" alt="SCR-20260108-llqk" src="https://github.com/user-attachments/assets/920e864c-a4d8-47a2-a8aa-17ffa9c6abc0" /> With this PR, this is what it looks like https://github.com/user-attachments/assets/f182a77d-77f2-4845-8b24-8dcbe0a789f3
yindo added the pull-request label 2026-02-16 18:17:17 -05:00
yindo closed this issue 2026-02-16 18:17:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12368