diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-12 12:46:53 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-12 12:46:53 +0000 |
commit | 9517adaad94865f4d7d51df00c470d5add1aa0c7 (patch) | |
tree | 191d1100fe7af5eb53383eef6d3ecbf8885616b8 /display.c | |
parent | [w3m-dev 03417] install_w3mimgdisplay (diff) | |
download | w3m-9517adaad94865f4d7d51df00c470d5add1aa0c7.tar.gz w3m-9517adaad94865f4d7d51df00c470d5add1aa0c7.zip |
[w3m-dev 03418] Re: tab browser
* display.c (redrawNLine): s/clrtoeol/clrtoeolx/
move rootY
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'display.c')
-rw-r--r-- | display.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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)) |