restore cursor on ctrl-c