Nyx doesn't exit gracefully on Ctrl-C
I am observing these problems:
- It doesn't immediately exit on Ctrl-C, but still runs for ~4-5 sec and then exits. But when I press Ctrl-C and ENTER - this makes it exit after ENTER. This is unconventional behavior, and nyx should just exit on Ctrl-C right away.
- Sometimes (in ~5% cases) pressing Ctrl-C causes the terminal state be modified (against what it was before). Not sure if this is ncurses bug, but I doubt.
- Once pressing Ctrl-C caused nyx to hang and it had to be killed.
Ideal behavior: Exit back into terminal after single Ctrl-C without any side-effects.
I am not sure if this is FreeBSD specific problem or not, it is unlikely.