I want a keyboard shortcut that will clear everything from the terminal window, including the current line
I know that
- Command-K clears the text to the very beginning, but if you have some text on the current line and you haven't pressed the Return key yet, Command-K preserves it.
- Control-U clears the current line.
Is there a keyboard shortcut to do both things in a single step, or any other way to accomplish this?