a project I'm working on utilizes raw mode, invoked via crossterm
this prints reports all funny.. this is my solution in color_eyre for now, but it would be nice to see this integrated more elegantly. an enable_raw_mode: bool in HookBuilder could be ok.
for panic, there's no need to re-enable raw mode as we're exiting, but one thing i'm not accounting for here is un-recoverable error, in which case the terminal would be left in raw on exit. need match on ErrorKind perhaps whether to re-enable or something
a project I'm working on utilizes raw mode, invoked via
crossterm
this prints reports all funny.. this is my solution in color_eyre for now, but it would be nice to see this integrated more elegantly. an
enable_raw_mode: bool
inHookBuilder
could be ok.for panic, there's no need to re-enable raw mode as we're exiting, but one thing i'm not accounting for here is un-recoverable error, in which case the terminal would be left in raw on exit. need match on ErrorKind perhaps whether to re-enable or something