pan
pan copied to clipboard
Escape characters in less
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
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.