I am on neovim with Oni. vim-netranger plugin uses terminal colors in this format to highlight things. It does work in terminal with neovim , but not in a gui app.
I am looking for a way to replace this that will work.
def c256(msg, c, background):
if background:
return '[38;5;{};7m{}[0m'.format(c, msg)
else:
return '[38;5;{}m{}[0m'.format(c, msg)
This string is printed into a line(in a buffer) somehow.
Thanks