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

From: Colona <>
Date: Fri, 9 May 2014 10:36:03 +0200

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, because I think this problem
> affects all the calls to redraw:

I guess that tracking dirty lines still improves performances for the
draw() call in the main loop in run(). However, looking at all the calls
to redraw(), we could directly call tfulldirt() in redraw(), just before
the call to draw() since it seems to be called only to redraw the whole
screen. And we still keep the "dirty" optimisation for the call to
draw() from run().

Ivan "Colona" Delalande
Received on Fri May 09 2014 - 10:36:03 CEST

This archive was generated by hypermail 2.3.0 : Fri May 09 2014 - 10:48:06 CEST