diff options
author | Robin Jarry <robin@jarry.cc> | 2022-02-23 22:34:41 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-03-03 21:38:02 +0100 |
commit | d2c239292e2270b949faa67c8f91e99e2a59cc88 (patch) | |
tree | 1fc22d73c64f155345129099eb9400718dd33e8b /widgets/terminal.go | |
parent | c77a1c5d9d635c7ddf515f732699f4346445d058 (diff) | |
download | aerc-d2c239292e2270b949faa67c8f91e99e2a59cc88.tar.gz |
filters: fix colorize urls in signatures
When a signature contains a line that starts with an url, the url is not
highlighted properly:
--
Foobar
[38;2;255;255;175mmhttps://foobar.org
The trailing m of the signature color start \x1b[38;2;175;135;255m is
considered as part of the URL scheme (i.e. mhttps:// instead of
https://). Colorize the URLs first before wrapping with the signature
color.
Fixes: df8c129235d9 ("filters: port colorize to awk")
Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'widgets/terminal.go')
0 files changed, 0 insertions, 0 deletions