commit baa0e195f6a8aea4d7594e630574bbf0173eba9c
parent c43f6846d4788683383ec8bcead02c11d78544a4
Author: Kaz Wesley <keziahw@gmail.com>
Date: Fri, 28 Apr 2017 17:48:00 -0700
[st] add truecolor-emacs patch
Support the 24-bit RGB commands (setf24/setb24) available in the
current dev version of emacs 26 (added in emacs git e463e57).
Diffstat:
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/st.suckless.org/patches/st-truecolor-emacs-0.7.diff b/st.suckless.org/patches/st-truecolor-emacs-0.7.diff
@@ -0,0 +1,14 @@
+diff --git a/st.info b/st.info
+index b70fefa..adfbc5c 100644
+--- a/st.info
++++ b/st.info
+@@ -187,6 +187,9 @@ st| simpleterm,
+ xenl,
+ vpa=\E[%i%p1%dd,
+
++# truecolor Emacs
++ setb24=\E[48;2;%p1%{65536}%/%d;%p1%{256}%/%{255}%&%d;%p1%{255}%&%dm,
++ setf24=\E[38;2;%p1%{65536}%/%d;%p1%{256}%/%{255}%&%d;%p1%{255}%&%dm,
+
+ st-256color| simpleterm with 256 colors,
+ use=st,