Shell/Terminating a Partial Command
From Coder Merlin
Terminating a Partial Command
If you begin a command in error or change your mind about issuing a command, you can use the- key sequence to cancel what you've typed so far and continue with a new command prompt.
Try it now: