And here's a command that tries to fix up a mistake after you type it. Like this one, it's also named like what you might say afterwards.
When you run a command it moves the cursor (point in Emacs) to the beginning of the line and shows output below it. If you start typing it jumps to a new prompt allowing you to enter a separate command. If instead you move right from the beginning of the line it sees you are correcting/tweaking the command and doesn't jump to a new line when you type something. If you press space it acts like a pager.
It's pretty neat because it allows you to review the output without getting in the way.