3 ms·
What long archaic command are you running? 'clear; reset' usually does it for me.
by joombaga 9y ago
What long archaic command are you running? 'clear; reset' usually does it for me.
- polygot 9y agoSometimes clear; reset works but other times I can't see what I'm typing, and so when I type it and hit enter it might clear the screen, sometimes it runs the command but the bash prompt is completely messed up. I use tmux a lot, so I usually use the reset code from this answer: https://unix.stackexchange.com/questions/49886/tmux-status-bar-corrupted-after-catting-a-binary-file-how-to-reset https://unix.stackexchange.com/questions/49886/tmux-status-b... stty sane; printf '\033k%s\033\\\033]2;%s\007' "`basename "$SHELL"`" "`uname -n`"; tput reset; tmux refresh