gitui
gitui copied to clipboard
panic inside gitui silenty quits the application (certainly on windows)
Once the panic handler is installed any panic is not reported and the app just closes (it writes the log file if there is one). I suspect that the eprintln! actually writes the error details to the tui terminal but the shutdown_terminal then immediately switches away from the tui terminal buffer back to the 'normal' screen.
The fix is to call shutdown_terminal before calling log_eprint,