Open Nilaos opened 1 year ago
Hiya! If we were to fix this I think we'd just need something like a panic_unwind to fix the terminal.
I'll look into it, but I'm not going to fix it before we're done using termgame
for the term.
Thanks for the bug report!
@tfpk see: https://github.com/insou22/flymark/blob/main/src/term/mod.rs for fix
I noticed during some testing that if a panic (via
panic!
,todo!
, etc) occurred, inside a running Controller, then mouse inputs are being read by the terminal after the controller exits. While a panic is obviously not expected behaviour, having a side effect that renders a terminal unusable on most/all modern computers is undesirable.MVE: