JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
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)
commit930b2c4a7f222e15e6493d5bbb8fd90e681d2626
tree0a547de39cf0948af6c9bbf5b01289adf7724fbc
parenta984ffc4cb755c6dcdbc153b2591dca0ae6a8ead
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