Skip to content

How Can I colored message? #1355

Answered by joelim-work
og900aero asked this question in Q&A
Jul 26, 2023 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

Yeah that's what I was referring to when I said escape sequences don't work when displaying the ruler, instead the escape character is displayed as \033 in reverse mode. If you delete that bit of code and then recompile lf then it should work.

So the reasons for displaying escape sequences instead of processing them was:

  1. To be able to display the literal values of options like promptfmt in the ruler
  2. Security reasons (?)

Even now, I'm not sure about that decision.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@og900aero
Comment options

@joelim-work
Comment options

Answer selected by og900aero
@og900aero
Comment options

@joelim-work
Comment options

@og900aero
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants