You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to output text to a curses window without curses messing with the ansi color codes - I would like the color codes to simply pass through and let the text be colored in the window. I am perfectly aware of how to color text in curses, but I would rather not go through that roundabout when outputting syntax highlighted text to a curses window (like with the command
curses_window << `batcat --color=always #{file}`
... where batcat is the syntax highlighting cousin to cat (also known as just "bat")
The text was updated successfully, but these errors were encountered:
Is there a way to output text to a curses window without curses messing with the ansi color codes - I would like the color codes to simply pass through and let the text be colored in the window. I am perfectly aware of how to color text in curses, but I would rather not go through that roundabout when outputting syntax highlighted text to a curses window (like with the command
... where batcat is the syntax highlighting cousin to cat (also known as just "bat")
The text was updated successfully, but these errors were encountered: