From: Roberto E. Vargas Caballero Date: Mon, 3 Sep 2012 19:52:34 +0000 (+0200) Subject: Force redisplay of all lines in DECSCNM X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=930b2c4a7f222e15e6493d5bbb8fd90e681d2626;hp=930b2c4a7f222e15e6493d5bbb8fd90e681d2626;p=st.git 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(-) ---