Re: [dev] [st] [PATCH] Clear the full screen on reverse terminal mode change.

2014-05-09 Thread Christoph Lohmann
Greetings. On Fri, 09 May 2014 17:10:43 +0200 "Roberto E. Vargas Caballero" wrote: > > (introduction of term.dirty) which, on change of reverse mode (DECSCNM), > > caused only dirty lines to be redrawn with the new mode instead of the > > whole screen. > > [...] > > Christoph (you are the autho

Re: [dev] [st] [PATCH] Clear the full screen on reverse terminal mode change.

2014-05-09 Thread Colona
On Fri, May 09, 2014 at 08:54:52AM +0200, Roberto E. Vargas Caballero wrote: > > (introduction of term.dirty) which, on change of reverse mode (DECSCNM), > > caused only dirty lines to be redrawn with the new mode instead of the > > whole screen. > > Maybe could be better idea revert 0dbf9c, becau

Re: [dev] [st] [PATCH] Clear the full screen on reverse terminal mode change.

2014-05-08 Thread Roberto E. Vargas Caballero
> (introduction of term.dirty) which, on change of reverse mode (DECSCNM), > caused only dirty lines to be redrawn with the new mode instead of the > whole screen. Maybe could be better idea revert 0dbf9c, because I think this problem affects all the calls to redraw: void expose(XEvent *ev) {

[dev] [st] [PATCH] Clear the full screen on reverse terminal mode change.

2014-05-08 Thread Colona
Fix a bug introduced by 0dbf9c8c12a5de35d1cef22349ab80e8f0a8f10e (introduction of term.dirty) which, on change of reverse mode (DECSCNM), caused only dirty lines to be redrawn with the new mode instead of the whole screen. A good test-case is `echo foobar; tput flash`. --- st.c | 4 +++- 1 file ch