aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--display.c10
2 files changed, 13 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index d50ef92..e97403f 100644
--- 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
@@ -4583,4 +4589,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.504 2002/11/12 12:44:49 ukai Exp $
+$Id: ChangeLog,v 1.505 2002/11/12 12:46:53 ukai Exp $
diff --git a/display.c b/display.c
index a17897b..f88cfe8 100644
--- a/display.c
+++ b/display.c
@@ -1,4 +1,4 @@
-/* $Id: display.c,v 1.29 2002/11/08 15:54:47 ukai Exp $ */
+/* $Id: display.c,v 1.30 2002/11/12 12:46:53 ukai Exp $ */
#include <signal.h>
#include "fm.h"
@@ -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))