Even on a good console I put a # at the start of the line before editing or typing it in case I accidentally hit Enter too soon.
And never ever paste commands without first trying it into a trash terminal or editor.
And never ever paste commands without first trying it into a trash terminal or editor.
Despite (mostly) using vim as an editor, it's got to be emacs on the shell itself.