DRSchlaubi / mcserv

CLI utility to manage MC Server installations
https://mcserv.how
GNU General Public License v3.0
16 stars 6 forks source link

Cursor invisible after exiting with Ctrl+C #12

Closed NyCodeGHG closed 3 years ago

NyCodeGHG commented 3 years ago

Peek 2021-09-04 14-39

DRSchlaubi commented 3 years ago

This sounds like a bug of interact

NyCodeGHG commented 3 years ago

that's what I thought

DRSchlaubi commented 3 years ago

See https://github.com/frencojobs/interact/issues/3

frencojobs commented 3 years ago

Hi. Interact v2.1 should have a reset function you can use with a try-catch block. It doesn't directly help with Ctrl+C exits, but you can catch a Ctrl+C so it should be good.

DRSchlaubi commented 3 years ago

ProcessSignal.sigint.watch().listen(), doesn't call the listener. Any ideas?

DRSchlaubi commented 3 years ago

Need to wait for @frencojobs on this one (https://github.com/frencojobs/interact/issues/3#issuecomment-913034525)