Clear terminal window when executing external commands
It is difficult to sift through clutter leftover by previous commands on the terminal when new commands write their output over them. The expected behavior is for new commands to clear the window before writing new output. The alternative is to navigate to the end of the previous command's output and begin its output from there, scrolling up when needed.
This description is not clear enough for me to understand the issue you're experiencing.
Yes, I agree with the ambiguity. Apologies.
When I issue a command on the ranger commandline (:shell my_command), it's output on the built-in shell gets messed up with the output of the previous command. Instead of first clearing the previous contents of the built-in shell or perhaps scrolling it upwards, the output of the current shell command gets printed over the existing text of the previous output.
I haven't experienced this. A short screen recording would clear things up.