ctrl+C keystroke detection