commit baa0e195f6a8aea4d7594e630574bbf0173eba9c
Author: Kaz Wesley <[email protected]>
Date:   Fri Apr 28 17:48:00 2017 -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).

diff --git a/st.suckless.org/patches/st-truecolor-emacs-0.7.diff 
b/st.suckless.org/patches/st-truecolor-emacs-0.7.diff
new file mode 100644
index 0000000..24c9716
--- /dev/null
+++ 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,


Reply via email to