*** empty log message ***
authorroot <root>
Tue, 4 Nov 2008 23:35:50 +0000 (23:35 +0000)
committerroot <root>
Tue, 4 Nov 2008 23:35:50 +0000 (23:35 +0000)
Changes
src/screen.C

diff --git a/Changes b/Changes
index 2d275de35f0f7baec85b932364a22e7607ba939a..a5d1d6388b3d7a6b95e7494e8d63436f69cc109d 100644 (file)
--- a/Changes
+++ b/Changes
@@ -20,6 +20,10 @@ WISH: look into XAddConnectionWatch, does anybody need that?
 DUMB: support tex fonts
 
 TODO:   /*TODO: the xlceararea/xfillrectangle below don't take scroll offste into account, ask mikachu for details */
+00:25:39 <Mikachu> put your prompt around the middle row in the terminal
+                   and while sleep 0.1; do printf '\e[J'; done
+00:26:31 <schmorp> i assume scorllttyoutput or so wouldinterfere?
+
 
 TODO: cursor over overlays, when focus change?
        - the aterm code now frees the as visual and image manager objects
index c19c6ef2c5b1eb13d09130bd32413bc9305eb842..d57e2a4340751c34877dd7687ba023b039bdd4a1 100644 (file)
@@ -1353,7 +1353,7 @@ rxvt_term::scr_erase_screen (int mode) NOTHROW
 
       if (mapped)
         XClearArea (dpy, vt, 0,
-                    Row2Pixel (row), (unsigned int)width,
+                    Row2Pixel (row - view_start), (unsigned int)width,
                     (unsigned int)Height2Pixel (num), False);
     }
   else
@@ -1363,7 +1363,7 @@ rxvt_term::scr_erase_screen (int mode) NOTHROW
       gcvalue.foreground = pix_colors[bgcolor_of (rstyle)];
       XChangeGC (dpy, gc, GCForeground, &gcvalue);
       XFillRectangle (dpy, vt, gc,
-                      0, Row2Pixel (row),
+                      0, Row2Pixel (row - view_start),
                       (unsigned int)width,
                       (unsigned int)Height2Pixel (num));
       gcvalue.foreground = pix_colors[Color_fg];