chrisvest / xxv

The XXV visual hex viewer for the terminal.
https://chrisvest.github.io/xxv/
85 stars 5 forks source link

Integrate Human Panic #6

Closed chrisvest closed 5 years ago

chrisvest commented 5 years ago

This looks like it would be very helpful for debugging crashes in the wild:

https://github.com/rust-cli/human-panic

Hopefully it doesn't bloat the binary too much.

chrisvest commented 5 years ago

This dependency inflates the binary from 1.4 MB to 2.6 MB, so that’s a nope. Can still pluck ideas from it and see if we can approximate it in a smaller footprint. Printing to stderr from the panic hook doesn’t jive with Cursive/ncurses anyway.