4 ms·
... and in case you messed up your console, typing `reset` followed by enter will fix it.
by katzeilla 5y ago
... and in case you messed up your console, typing `reset` followed by enter will fix it.
- faho 5y agoOr, if you managed to mess up the terminal modes and enter doesn't work, try pressing ctrl-j instead.
- julienpalard 5y agoI had to do it quite a few time when implementing this one ;) I often type "C-c" or "enter" before typing reset to ensure I have nothing before it in the buffer. A bit like I often do "Enter Enter ~ .` instead of just `~.` to kill a dying SSH session (I don't know why I hit enter twice here... a single time is enough.) to ensure the ~ is at the beginning of the buffer (if it's not, it won't work).