Skip to content

Comment on hr for your terminalparent

Comments

Clear doesn't do anything to differentiate new output from old.

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.

I use `clear` but in tmux, the whitespace produced by `clear` disappears, so it's the same as pressing <Enter> :(

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.