From e28b0c7e53570c21a42df49953ec8461c536ef25 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 4 Nov 2008 23:35:50 +0000 Subject: [PATCH] *** empty log message *** --- Changes | 4 ++++ src/screen.C | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index 2d275de3..a5d1d638 100644 --- 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 put your prompt around the middle row in the terminal + and while sleep 0.1; do printf '\e[J'; done +00:26:31 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 diff --git a/src/screen.C b/src/screen.C index c19c6ef2..d57e2a43 100644 --- a/src/screen.C +++ b/src/screen.C @@ -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]; -- 2.34.1