Clear an iTerm window without reseting


echo -ne '\033]50;ClearScrollback\a'

Source

Tags:  macos  bash

Share: