$B2,ED$G$9!#(B
$B%?%VI}$N@0?tG\$,2hLLI}$G$O$J$$$H$-$K!"2hLL$K%4%_$,;D$k$h$&$J$N$G!"=$@5(B
$B$7$F$_$^$7$?!#$*$+$7$$$h$&$G$7$?$i;XE&$7$F$/$@$5$$!#(B
$B$^$?!"(Bterms.c $B$N(B addch() $B$N(B tab_step $B$O(B Tabstop $B$H$OL54X78$G$$$$$N$G$7$g(B
$B$&$+!)(B
# $B$A$g$C$H8+$?8B$j$G$O!"(Baddch() $B$d(B addChar() $B$,(B \t $B$r0z?t$H$7$F8F$P$l(B
# $B$k$3$H$O$J$5$=$&$J$N$G!"<B9T$5$l$k$3$H$N$J$$%3!<%I$N$h$&$K;W$$$^$9$,!D(B
-- Tsutomu Okada <okada@furuno.co.jp>--- display.c.dist Fri Dec 1 16:46:26 2000 +++ display.c Fri Dec 1 20:18:06 2000 @@ -348,8 +348,12 @@ delta = 1; #endif ncol = COLPOS(l, pos + j + delta); - if (ncol - column > COLS) + if (ncol - column > COLS) { + if (p[j] == '\t') + for (; rcol < COLS; rcol++) + addChar(' ', 0); break; + } if (rcol < column) { for (rcol = column; rcol < ncol; rcol++) addChar(' ', 0); @@ -443,8 +452,12 @@ delta = 1; #endif ncol = COLPOS(l, pos + j + delta); - if (ncol - column > COLS) + if (ncol - column > COLS) { + if (p[j] == '\t') + for (; rcol < COLS; rcol++) + addChar(' ', 0); break; + } if (j >= bcol && j < ecol) { if (rcol < column) { move(i, 0);
This archive was generated by hypermail 2b29 : Fri Dec 01 2000 - 05:43:46 CST