Browse Source

st-direct terminfo patch addition, doing truecolor escape sequences ncurses-way

master
Von Random 3 months ago
parent
commit
0d88911a9b
2 changed files with 20 additions and 0 deletions
  1. 1
    0
      makest
  2. 19
    0
      st-direct-terminfo.patch

+ 1
- 0
makest View File

@@ -6,6 +6,7 @@ ST_CFG=$PWD/config.h
6 6
 PATCHLIST=(
7 7
     st-bright-bold-text.patch
8 8
     st-clipboard.patch
9
+    st-direct-terminfo.patch
9 10
     st-disable-bold-italic-fonts.patch
10 11
     st-disable-intensity-styles.patch
11 12
 )

+ 19
- 0
st-direct-terminfo.patch View File

@@ -0,0 +1,19 @@
1
+diff --git a/st.info b/st.info
2
+index 52fc617..5a024c2 100644
3
+--- a/st.info
4
++++ b/st.info
5
+@@ -205,6 +205,14 @@ st-256color| simpleterm with 256 colors,
6
+ 	setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m,
7
+ 	setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m,
8
+ 
9
++st-direct| simpleterm with full color,
10
++	use=st,
11
++	ccc,
12
++	rgb,
13
++	oc=\E]104\007,
14
++	setab=\E[48;%?%p1%{16}%<%t5;%p1%d%e2;%p1%{65536}%/%d;%p1%{256}%/%{255}%&%d;%p1%{255}%&%d%;m,
15
++	setaf=\E[38;%?%p1%{16}%<%t5;%p1%d%e2;%p1%{65536}%/%d;%p1%{256}%/%{255}%&%d;%p1%{255}%&%d%;m,
16
++
17
+ st-meta| simpleterm with meta key,
18
+ 	use=st,
19
+ 	km,

Loading…
Cancel
Save