pan icon indicating copy to clipboard operation
pan copied to clipboard

Escape characters in less

Open asmarcz opened this issue 4 years ago • 1 comments

Actual output

pan | less prints ESC characters to less making the output unreadable

Fix

implement https://stackoverflow.com/questions/2142796/in-linux-how-can-i-test-whether-the-output-of-a-program-is-going-to-a-live-term

or

use -R flag for less pan | less -R

Desired output

pan | less; pan automatically recognizes to what it's outputting and removes ESC characters

asmarcz avatar Feb 08 '21 10:02 asmarcz

pan recently had an update that introduced a reference browser, but I'm still yet to update the readme with that. Use pan for help, and pan r for the API reference.

liquidev avatar Feb 08 '21 10:02 liquidev