The attached patch adds full support for the OSC 10/11/12/4 control
sequences.
These are used by programs like vim and theme.sh to query and set terminal
colours and are supported by most major terminals (e.g alacrittty, kitty,
libvte). I submitted a patch to the wiki some time ago, but it didn't
include
support for query sequences. I am posting it here because I feel it would
be a
good candidate for inclusion into st itself.
You can test it using
https://github.com/lemnos/theme.sh by running
theme.sh zenburn
theme.sh -p
Don't hesitate to let me know if I have made any grievous errors :P.
Regards,
Raheman
Received on Fri Dec 10 2021 - 23:53:40 CET