on ^C, clear current input line
remove newline when clearing the input line