macro_rules! die { ($template:expr $(, $arg:expr)*) => { ... }; }
Helper for panicing the program but first ensuring that we have restored the terminal state in the same way that we do when the Editor is dropped cleanly