7 ms·
That's great. I've been using terminals for 20+ years, and never new about CTRL-U. Thanks! TIL.
by tspng 6mo ago
That's great. I've been using terminals for 20+ years, and never new about CTRL-U. Thanks! TIL.
- larsbrinkhoff 6mo agoIt's built into the Unix terminal driver. Control-U is the default, but it can be changed with e.g. "stty kill". Libraries like readline also support it.