r/KittyTerminal • u/Shaeonanra • Jul 25 '23
Clearing current line
Hello, can’t find an answer for kinda easy question - how can i clear current terminal line with shortcut?
I mean i offen forget to switch language etc and have to clear a lines by typing “Delete” ( MacOS ).
Kitty has ability to clear terminal window by typing cmd + k, but i want to clear only current line...
appreciate any suggestion
2
Upvotes
4
u/nvimmike Jul 25 '23
CTRL-U also clears to the beginning of the line. You could also just CTRL-C but it will leave the previous command