commit f8f805f50f6a612d4d07b40a1fcea8f0eecb5269
parent 9ac2937f3e46b1c62220257e56b11e6a610ee5a9
Author: ukai <ukai>
Date: Tue, 12 Nov 2002 12:46:53 +0000
[w3m-dev 03418] Re: tab browser
* display.c (redrawNLine): s/clrtoeol/clrtoeolx/
move rootY
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat:
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,5 +1,11 @@
2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+ * [w3m-dev 03418] Re: tab browser
+ * display.c (redrawNLine): s/clrtoeol/clrtoeolx/
+ move rootY
+
+2002-11-12 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
* [w3m-dev 03417] install_w3mimgdisplay
* configure: define install_w3mimgdisplay
after use_w3mimg_fb determined
diff --git a/display.c b/display.c
@@ -456,13 +456,13 @@ redrawNLine(Buffer *buf, int n)
addstr(t->currentBuffer->buffername);
if (t == CurrentTab)
EFFECT_ACTIVE_END;
- clrtoeol();
+ clrtoeolx();
x = col * (i % nx + 1) / nx - 1;
move(i / nx, x);
addch(']');
if (t == CurrentTab)
boldend();
- clrtoeol();
+ clrtoeolx();
}
move(0, col);
addstr(" x");
@@ -480,8 +480,10 @@ redrawNLine(Buffer *buf, int n)
break;
l = l0;
}
- if (n > 0)
+ if (n > 0) {
+ move(i + buf->rootY, 0);
clrtobotx();
+ }
#ifdef USE_IMAGE
if (!(activeImage && displayImage && buf->img))