]> Sergey Matveev's repositories - st.git/commit
Force redisplay of all lines in DECSCNM
authorRoberto E. Vargas Caballero <k0ga@shike2.com>
Mon, 3 Sep 2012 19:52:34 +0000 (21:52 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Mon, 3 Sep 2012 19:52:34 +0000 (21:52 +0200)
commite135e96f35a1670415dc09a866641e3ac748ed93
tree0a547de39cf0948af6c9bbf5b01289adf7724fbc
parentee4a9934ab89a9ebe673fc052303e9cacbb2f5fb
Force redisplay of all lines in DECSCNM
When it is called DECSCNM all lines become dirty, because it is necessary
redraw all lines for getting the new colors. It is easy see the problem
running 'echo ^[[?5h'.

In order to get a correct flash when running tput flash is necessary wait
after DECSCNM, until the changes are displayed, because in other case the
switch between reverse on/reverse off will be too much fast and nothing will
happen.
---
 st.c |   12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
st.c