xi-frontend / xi-term

A terminal frontend for Xi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exit gracefully from SIGINT

moore3071 opened this issue · comments

C-c will put the terminal in a messed up state that requires running reset (or some equivalent command). It seems that SIGINT isn't being caught in order to exit curses mode and restore tty mode.

Definitely very annoying I agree.
fwiw, you can do reset to restore your terminal, until I fix this.
edit: that is literally your first sentence, sorry.

To be fair, the reset solution is sort of hidden in my description. If you missed it, then someone else will too. So for clarity's sake:

Temporary fix: run reset in your terminal.

I think this is fixed in the tokio branch :)
I hope to merge it by end of next week.
Maybe earlier if I have some time this weekend.

I merged the tokio branch so this should be fixed.