Hey Clark,
can you try this?

hardstatus string "%-Lw%{255;22 b} %n %t %{-}%+Lw%=%H %m/%d %D %0C %A "

It will interpret as:
foreground 255
background 22
bold

see also:
https://git.savannah.gnu.org/cgit/screen.git/tree/src/process.c#n7213

Cheers,
Alex


On Wed, Jul 31, 2024 at 5:29 PM Clark Wang <dearv...@gmail.com> wrote:

> Hi Alex,
>
> On Sat, Jul 27, 2024 at 5:20 PM Alex Naumov <alexander_nau...@opensuse.org>
> wrote:
>
>>
>> On Tue, Jul 16, 2024 at 5:39 PM Clark Wang <dearv...@gmail.com> wrote:
>>
>>> I'm using this:
>>>
>>>   hardstatus string "%-Lw%{+ .g} %n %t %{-}%+Lw%=%H %m/%d %D %0C %A "
>>>
>>> Screenshot with screen v4: https://i.imgur.com/315VAK2.png
>>> Screenshot with screen v5: https://i.imgur.com/waNUuiV.png
>>>
>>>
>> Can you try a patch from here?
>> https://savannah.gnu.org/bugs/index.php?66003
>>
>
> Just tried master HEAD (af1aa442bd8f4) and the time format now works but
> the color still has problems. See screenshot
> https://i.imgur.com/sP0gDN0.png .
>

Reply via email to