Skip to content

add fault handler to prevent terminal breaking on application faults - #1151

Open
knusbaum wants to merge 1 commit into
rivo:masterfrom
knusbaum:master
Open

add fault handler to prevent terminal breaking on application faults#1151
knusbaum wants to merge 1 commit into
rivo:masterfrom
knusbaum:master

Conversation

@knusbaum

@knusbaum knusbaum commented Apr 11, 2026

Copy link
Copy Markdown

If an application using tview runs into a non-panic fault it will not run Fini() and can leave the terminal in a bad state.

This causes those non-panic faults to create panics with debug.SetPanicOnFault and be caught, and attempt to Fini().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant