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-1b514048b254827f1a83c05e1b2a2428bf31924e.tar.gz
st-1b514048b254827f1a83c05e1b2a2428bf31924e.tar.bz2
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,
el=\E[K,
el1=\E[1K,
enacs=\E)0,
- flash=\E[?5h\E[?5l,
+ flash=\E[?5h$<80/>\E[?5l,
fsl=^G,
home=\E[H,
hpa=\E[%i%p1%dG,
@@ -150,6 +150,7 @@ st| simpleterm,
mir,
msgr,
ncv#3,
+ npc,
op=\E[39;49m,
pairs#64,
mc0=\E[i,