Using the clear command on the terminal only fools the user into thinking the screen has been cleared...you can still see output from the previous commands when
clear
Just to add that tmux scroll buffer does not clear with clear, reset or printf. You need to :clear-history. See link.
tmux
reset
printf
:clear-history