-
Hello, is there a way to sent colored text using Ansi Escape? Like this local clr = require "ansicolor"
local mco = import "micro"
function init()
local bar = mco.InfoBar()
bar:Message(clr "%{red}Some message!")
-- "ESC[0mESC[31mSome message!ESC[0m"
end |
Beta Was this translation helpful? Give feedback.
Answered by
zyedidia
Jan 14, 2023
Replies: 1 comment 1 reply
-
No the infobar does not support arbitrarily colored text, although you can use the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
0komo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No the infobar does not support arbitrarily colored text, although you can use the
Error
function which will send text with a red background (or whatever the "error" color is in the colorscheme).