-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pygmentize doesn't colorize when piped through Less #67
Comments
I don't know |
This seems to be more a question about pygmentize rather than about less. |
Hello fellow lessers,
I'm having a Windows 10 issue with colorization I'm hoping this group can help me. I've decided to use pygmentize to colorize files in less.
Here is an example using pygmentize on the python script "texi2html.py" which is included in my python distribution.
The command:
c:\apps\python\scripts\pygmentize texi2html.py
produces colored output.
The command:
c:\apps\python\script\pygmentize texi2html.py | less -R
paginates the page, but without the colors.
This issue holds true for Perl files as well...it's not that specific file that has issues.
Using less version 562 Beta. I do not have a LESS or LESSOPEN environment set for this test. I may be doing something incorrectly, but I'm not sure what it could be. Does anyone else have this working in windows?
Any pointers in the right direction would be appreciated.
Michael
The text was updated successfully, but these errors were encountered: