Adding function to clear terminal scrollback buffer