aboutsummaryrefslogtreecommitdiff
path: root/st.info
diff options
context:
space:
mode:
authorIvan Delalande <colona@ycc.fr>2015-02-15 00:34:03 +0100
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2015-02-22 11:53:34 +0000
commit1b514048b254827f1a83c05e1b2a2428bf31924e (patch)
tree1932d55979fa417d675a8d3e39c990ede67fbf11 /st.info
parent3604445ffc6ff1bfdfc7614771ca659e423b404b (diff)
downloadst-patched-1b514048b254827f1a83c05e1b2a2428bf31924e.tar.bz2
st-patched-1b514048b254827f1a83c05e1b2a2428bf31924e.tar.xz
st-patched-1b514048b254827f1a83c05e1b2a2428bf31924e.zip
Let curses do the dirty work for flash
Use the terminfo delay syntax ($<x>) in our flash capability to avoid hardcoding a fixed delay in redraw() when called from tsetmode() with DECSCNM. We need to turn on the npc capability so that delays are made with xon/xoff instead of padding characters.
Diffstat (limited to 'st.info')
-rw-r--r--st.info3
1 files changed, 2 insertions, 1 deletions
diff --git a/st.info b/st.info
index 3b754db..99c066d 100644
--- a/st.info
+++ b/st.info
@@ -32,7 +32,7 @@ st| simpleterm,
32 el=\E[K, 32 el=\E[K,
33 el1=\E[1K, 33 el1=\E[1K,
34 enacs=\E)0, 34 enacs=\E)0,
35 flash=\E[?5h\E[?5l, 35 flash=\E[?5h$<80/>\E[?5l,
36 fsl=^G, 36 fsl=^G,
37 home=\E[H, 37 home=\E[H,
38 hpa=\E[%i%p1%dG, 38 hpa=\E[%i%p1%dG,
@@ -150,6 +150,7 @@ st| simpleterm,
150 mir, 150 mir,
151 msgr, 151 msgr,
152 ncv#3, 152 ncv#3,
153 npc,
153 op=\E[39;49m, 154 op=\E[39;49m,
154 pairs#64, 155 pairs#64,
155 mc0=\E[i, 156 mc0=\E[i,