Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Use clear and the flush_scrollback escape:

  $ clear; printf '\e[3J'
(edit: whoops wrong URL, sorry https://apple.stackexchange.com/a/113168 )

https://unix.stackexchange.com/a/530146



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: