On Tue, 18 Oct 2016 18:23:56 -0200
Gabriel Sobrinho <gabriel.sobri...@gmail.com> wrote:

> Hi,
> 
> For some reason the HEAD version of screen compiled on macOS Sierra
> is not printing any color on hardstatus.
> 
> Any thoughts?
> 
> Using the screen version 4.00.03 (native on macOS) the hardstatus
> colors just work. _______________________________________________
> screen-users mailing list
> screen-users@gnu.org
> https://lists.gnu.org/mailman/listinfo/screen-users

Hi,

yes, master is development branch and has improved escape codes
allowing for 256 and truecolor in hardstatus (though truecolor escapes
seem broken at the moment, will need to look at it).

Colors are defined as pairs inside brackets separated by semicolon,
foreground first, background second. You can use '-' or empty field to
"reset" color to default. Truecolor defines are prefixed by x character.

For example
hardstatus alwayslastline "%{1;2} red on green %{-;-}"
hardstatus alwaysfirstline "%{199;77} magenta on light green %{-;-}"
hardstatus alwayslastline "%{xFF0000;x00FF00} red on green in truecolor %{-;-}"


However for stable use, you want to build using screen-v4 branch.

Hope this answers your questions.

BR,
Amadeusz

_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to