aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-03-12 10:26:20 +0100
committerRobin Jarry <robin@jarry.cc>2023-03-31 21:02:14 +0200
commitae4d742c5a90091c1229639a8480830805ac105d (patch)
tree5e018f6e4e21562a4f49f8726b028c697ec2222b /config
parent86441411f46ba067cb445e6590b8d12cd20c4490 (diff)
downloadaerc-ae4d742c5a90091c1229639a8480830805ac105d.tar.gz
templates: fix layered fg & bg color for inline styles
The logic was inverted. The style argument is actually the "under" layer style. Each character in the RuneBuffer style must be applied on *top* of it, not the other way around. Use colors from style and override them with each character's colors if they are set. Keep attributes handling unchanged. Fixes: ab8f433e1739 ("templates: allow layered fg & bg color for inline styles") Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Bence Ferdinandy <bence@ferdinandy.com>
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions