diff options
| author | Ivan Delalande <colona@ycc.fr> | 2015-02-15 00:34:03 +0100 |
|---|---|---|
| committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2015-02-22 11:53:34 +0000 |
| commit | 1b514048b254827f1a83c05e1b2a2428bf31924e (patch) | |
| tree | 1932d55979fa417d675a8d3e39c990ede67fbf11 /st.info | |
| parent | Comment default CC assignment (diff) | |
| download | st-1b514048b254827f1a83c05e1b2a2428bf31924e.tar.gz st-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 '')
| -rw-r--r-- | st.info | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -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, |
