Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nagrom
· 12y ago · 0 comments
I don't understand - is there something better about this than the 'clear' command?
Comments
[–]
Ujio
12y ago
Clear doesn't do anything to differentiate new output from old.
[–]
nagrom
OP
12y ago
It makes an entire blank line, which is sufficient if you have a lot of textual output. It also gets rid of the old stuff from the screen - if you're running a window manager, you can then scroll up if you need the old stuff.
[–]
C0d3r
12y ago
I use `clear` but in tmux, the whitespace produced by `clear` disappears, so it's the same as pressing <Enter> :(