aboutsummaryrefslogtreecommitdiffstats
path: root/commands/completion_helpers.go
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-08-24 11:33:21 +0200
committerRobin Jarry <robin@jarry.cc>2023-08-24 14:01:52 +0200
commit606f8f0c701d349c8c1ff061587560cb46c0ba85 (patch)
tree15cd75a2904059d7fcd2941274ef03b852991646 /commands/completion_helpers.go
parenta5d6a70f440f770b41dc345324fa7413b3745e3f (diff)
downloadaerc-606f8f0c701d349c8c1ff061587560cb46c0ba85.tar.gz
colorize: only emit osc8 if [general].enable-osc8=true
Some old versions of less do not handle OSC 8 escape sequences. Even if aerc's embedded terminal is configured to handle them, less corrupts them making the output unreadable. 8;id=colorize-1;https://foobar.com/stuff/https://foobar.com/stuff/ When [general].enable-osc8 is set to false (its default value) do not attempt to generate OSC 8 sequences with the built-in colorize filter. These sequences would be stripped out anyway. Reported-by: Omar Polo <op@omarpolo.com> Signed-off-by: Robin Jarry <robin@jarry.cc> Acked-by: Kirill Chibisov <contact@kchibisov.com>
Diffstat (limited to 'commands/completion_helpers.go')
0 files changed, 0 insertions, 0 deletions