diff options
author | Von Random <von@vdrandom.org> | 2019-04-17 12:47:05 +0300 |
---|---|---|
committer | Von Random <von@vdrandom.org> | 2019-04-17 12:47:05 +0300 |
commit | 0d88911a9b9230abce8465132505b107d7e02860 (patch) | |
tree | 686eb130fd8bc8339b1c1dc97db76dc60810b03d | |
parent | 6b4a15026e1dca2d315f2bd40be23b2a1d73c99c (diff) |
st-direct terminfo patch addition, doing truecolor escape sequences ncurses-way
-rwxr-xr-x | makest | 1 | ||||
-rw-r--r-- | st-direct-terminfo.patch | 19 |
2 files changed, 20 insertions, 0 deletions
@@ -6,6 +6,7 @@ ST_CFG=$PWD/config.h PATCHLIST=( st-bright-bold-text.patch st-clipboard.patch + st-direct-terminfo.patch st-disable-bold-italic-fonts.patch st-disable-intensity-styles.patch ) diff --git a/st-direct-terminfo.patch b/st-direct-terminfo.patch new file mode 100644 index 0000000..978d877 --- /dev/null +++ b/st-direct-terminfo.patch @@ -0,0 +1,19 @@ +diff --git a/st.info b/st.info +index 52fc617..5a024c2 100644 +--- a/st.info ++++ b/st.info +@@ -205,6 +205,14 @@ st-256color| simpleterm with 256 colors, + setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m, + setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m, + ++st-direct| simpleterm with full color, ++ use=st, ++ ccc, ++ rgb, ++ oc=\E]104\007, ++ setab=\E[48;%?%p1%{16}%<%t5;%p1%d%e2;%p1%{65536}%/%d;%p1%{256}%/%{255}%&%d;%p1%{255}%&%d%;m, ++ setaf=\E[38;%?%p1%{16}%<%t5;%p1%d%e2;%p1%{65536}%/%d;%p1%{256}%/%{255}%&%d;%p1%{255}%&%d%;m, ++ + st-meta| simpleterm with meta key, + use=st, + km, |