TL;RD less -S -R
gives colored output but lines still wrapped to next line.
I'm requesting a http service (instagram api) which gives me json encoded data. I use prettyjson
from npm to see colored output. But some lines are too long, so they are wrapped by terminal. I want to enable horizontal scroll by using less
. Horizontal scroll works by arrow keys, but lines still wrapped to next line
Look at last lines with thumbnail_src
and display_src
screenshot of terminal app in OSX
less -R
, notless -RS
. If you type-S
from within less, does that remove the wrapping? – Stéphane Chazelas Nov 21 '16 at 07:47