[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No colors on hardstatus

From: Amadeusz Sławiński
Subject: Re: No colors on hardstatus
Date: Wed, 19 Oct 2016 00:05:51 +0200

On Tue, 18 Oct 2016 18:23:56 -0200
Gabriel Sobrinho <address@hidden> 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
> address@hidden


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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]