aboutsummaryrefslogtreecommitdiffstats
path: root/commands/cd.go
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2023-06-01 12:50:59 -0500
committerRobin Jarry <robin@jarry.cc>2023-06-01 22:31:40 +0200
commitedd4752268b266d697be51733599b708e4ae449a (patch)
tree550ee8be7fe5b6d9f82df1b70643f43f0587147c /commands/cd.go
parent5f5514d8742c803e5c0b701e3d6c053624687f70 (diff)
downloadaerc-edd4752268b266d697be51733599b708e4ae449a.tar.gz
config: fix multiple dynamic styles
When a user sets multiple dynamic styles, only the first one is applied. The parsing function is modifying the matching pattern prior to saving it to the style. When a second occurrence of the same dynamic style is seen, the patterns don't match because we compare against the raw user input instead of the modified pattern value. Store the raw user input as the pattern instead of our modified regex. Fixes: 2f46f64b0b0b ("styleset: allow dynamic msglist styling") Reported-by: Drew Devault <sir@cmpwn.com> Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Tested-by: Drew Devault <sir@cmpwn.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands/cd.go')
0 files changed, 0 insertions, 0 deletions