aboutsummaryrefslogtreecommitdiff
path: root/st.info
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero <k0ga@shike2.com>2020-04-11 14:46:17 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2020-04-11 15:23:23 +0200
commit771bc401f76b329f78a285ca65355d4b43415172 (patch)
tree522bb4422d46fbac0211b4b4e075cd2c304f2543 /st.info
parentd66bd405c0d0f29beff89683a04a10297e962cb9 (diff)
downloadst-771bc401f76b329f78a285ca65355d4b43415172.tar.gz
st-771bc401f76b329f78a285ca65355d4b43415172.tar.bz2
st-771bc401f76b329f78a285ca65355d4b43415172.zip
Add st-mono terminfo entry
This entry is intended for monocolor display and it is very helpful for color haters.
Diffstat (limited to 'st.info')
-rw-r--r--st.info20
1 files changed, 12 insertions, 8 deletions
diff --git a/st.info b/st.info
index 1df490b..e2abc98 100644
--- a/st.info
+++ b/st.info
@@ -1,4 +1,4 @@
-st| simpleterm,
+st-mono| simpleterm monocolor,
acsc=+C\,D-A.B0E``aaffgghFiGjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
am,
bce,
@@ -10,7 +10,7 @@ st| simpleterm,
civis=\E[?25l,
clear=\E[H\E[2J,
cnorm=\E[?12l\E[?25h,
- colors#8,
+ colors#2,
cols#80,
cr=^M,
csr=\E[%i%p1%d;%p2%dr,
@@ -168,13 +168,8 @@ st| simpleterm,
rs1=\Ec,
rs2=\E[4l\E>\E[?1034l,
sc=\E7,
- setab=\E[4%p1%dm,
- setaf=\E[3%p1%dm,
- setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
- setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
- sgr0=\E[0m,
- sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
sitm=\E[3m,
+ sgr0=\E[0m,
smacs=\E(0,
smcup=\E[?1049h,
smir=\E[4h,
@@ -194,6 +189,15 @@ st| simpleterm,
Se=\E[2 q,
Ss=\E[%p1%d q,
+st| simpleterm,
+ use=st-mono,
+ colors#8,
+ setab=\E[4%p1%dm,
+ setaf=\E[3%p1%dm,
+ setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
+ setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
+ sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
+
st-256color| simpleterm with 256 colors,
use=st,
ccc,