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
Add support for 256 color ANSI escape sequences #1220
Comments
lnav converts many escape sequences, but doesn't handle this one at the moment. For example, this will work:
Internally, lnav uses ncurses to handle the display and ncurses doesn't not directly accept ANSI escape sequences. So, the conversion needs to be done manually. I'll look into adding support for this sequence. |
Oh indeed. Looks like escape sequence I posted and the one that software uses are 256 colors, which is something lnav doesn't support. But it does support traditional 16 colors! |
Is your feature request related to a problem? Please describe.
Following #1219, I'm trying to use GNU Source-highlight. But I have discovered that lnav seems to be stripping out all the ANSI color codes. Can this be disabled?
Reproducer:
:sh echo -e "\e[38;2;255;0;0mHello world\e[0m"
The text was updated successfully, but these errors were encountered: