backticks doesn't work with conditionals?
"JD" <[email protected]> Wed, 25 Nov 2020 11:15:24 +0200
| Newsgroups | gmane.comp.gnu.screen.user |
|---|---|
| Message-ID | <[email protected]> |
Hi!
Let's say I have the following lines in my screenrc (screen itself is the latest master from https://git.savannah.gnu.backtickorg/git/screen.git):
backtick 1 0 5 procs
backtick 2 0 3 cpumem
caption splitonly "%?%F%{xc6c6c6;x000000}%1`%:%{xff0000;x000000}%2`%?"
Which I'd expect would display my "procs" backtick No. 1 in my focused window, and my "cpumem" backtick No. 2 in my non-focused window. However, this is not happening, only "procs" backtick is displayed in both windows (and in both cases it's drawn in the same color, gray on black).
Now, if I change the caption string to this one:
caption splitonly "%?%F%{xc6c6c6;x000000}abc%:%{xff0000;x000000}def%?"
then everything works just fine, the string 'abc' is displayed in my focused window, with gray on black, and the string 'def' is displayed in my non-focused window, with red on black.
Is this a known and/or an expected behaviour? :)
Thanks in advance.
--
JD