looks nicer
@ -168,6 +168,7 @@ bool getpos(const struct ut_state *state, int *x, int *y) {
void finish(int sig)
{
putchar('\n');
endwin();
// other cleanup
exit(0);