Open jkstrauss opened 5 years ago
I will look into it
I was able to replicate the issue using the 'more' command on windows. I wonder if it colors the output on Unix/Linux, @jakubroztocil, when piping the output to less.
@ovezovs yes, the following command should result in colorized output shown in less
(notice the -r
):
http --pretty=all httpbin.org/get | less -r
@jkstrauss which windows console did you use?
@ovezovs yes, the following command should result in colorized output shown in
less
(notice the-r
):http --pretty=all httpbin.org/get | less -r
@jkstrauss which windows console did you use?
I used PowerShell and VS Code terminal
@ovezovs more
also supports/requires -r
:
http --pretty=all httpbin.org/get | more -r
I am trying to use --pretty=all or --pretty=colors to color my output that I am piping to
less -r
. However, the colors do not show. This could also be solved by adding a paging option for long outputs (like in Git), but I understand that that is much more difficult. I am running this in Git Bash 2.21.0, and also in CMD on Windows piping tomore
. Neither do the coloring.