Fix ^C issue with nullcmd repeat issue (reported by @jfrankowski)