ranger icon indicating copy to clipboard operation
ranger copied to clipboard

Clear terminal window when executing external commands

Open guidomz opened this issue 8 months ago • 3 comments

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.

guidomz avatar Apr 24 '25 00:04 guidomz

This description is not clear enough for me to understand the issue you're experiencing.

toonn avatar Apr 24 '25 13:04 toonn

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.

guidomz avatar Apr 27 '25 03:04 guidomz

I haven't experienced this. A short screen recording would clear things up.

toonn avatar May 05 '25 13:05 toonn