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
A Clio CLI, when it encounters a panic, should recover and print out the stack trace in good order, get the terminal out of raw mode, tear down any TUI as far as possible, and explain to the user to have a bug report.
I think this would require adding a parameter like "bugReportURL" to the App constructor, and then clio could template out a nice panic / recovery screen.
Why is this needed:
Right now, when apps using Clio panic, the TUI isn't torn down and the tty is left in raw mode, leaving the user to figure out what to do with a broken-looking terminal and a weirdly indented stack trace.
Additional context:
The text was updated successfully, but these errors were encountered:
What would you like to be added:
A Clio CLI, when it encounters a panic, should recover and print out the stack trace in good order, get the terminal out of raw mode, tear down any TUI as far as possible, and explain to the user to have a bug report.
I think this would require adding a parameter like "bugReportURL" to the App constructor, and then clio could template out a nice panic / recovery screen.
Why is this needed:
Right now, when apps using Clio panic, the TUI isn't torn down and the tty is left in raw mode, leaving the user to figure out what to do with a broken-looking terminal and a weirdly indented stack trace.
Additional context:
The text was updated successfully, but these errors were encountered: