diff options
Diffstat (limited to 'lib/libcurses/cr_put.c')
-rw-r--r-- | lib/libcurses/cr_put.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/libcurses/cr_put.c b/lib/libcurses/cr_put.c index b50875c91211..0afaf3a344d7 100644 --- a/lib/libcurses/cr_put.c +++ b/lib/libcurses/cr_put.c @@ -101,11 +101,11 @@ fgoto(in_refresh) while (l > 0) { if (__pfast) if (CR) - tputs(CR, 0, __cputchar); + tputs(CR, 1, __cputchar); else putchar('\r'); if (NL) - tputs(NL, 0, __cputchar); + tputs(NL, 1, __cputchar); else putchar('\n'); l--; @@ -146,7 +146,7 @@ fgoto(in_refresh) * Eggert's Superbee description which wins better. */ if (NL /* && !XB */ && __pfast) - tputs(NL, 0, __cputchar); + tputs(NL, 1, __cputchar); else putchar('\n'); l--; @@ -166,7 +166,7 @@ fgoto(in_refresh) if (outcol != COLS - 1 && plod(strlen(cgp), in_refresh) > 0) plod(0, in_refresh); else - tputs(cgp, 0, __cputchar); + tputs(cgp, 1, __cputchar); } else plod(0, in_refresh); outline = destline; @@ -243,7 +243,7 @@ plod(cnt, in_refresh) * Cheaper to home. Do it now and pretend it's a * regular local motion. */ - tputs(HO, 0, plodput); + tputs(HO, 1, plodput); outcol = outline = 0; } else if (LL) { /* @@ -252,7 +252,7 @@ plod(cnt, in_refresh) */ k = (LINES - 1) - destline; if (i + k + 2 < j && (k <= 0 || UP)) { - tputs(LL, 0, plodput); + tputs(LL, 1, plodput); outcol = 0; outline = LINES - 1; } @@ -302,12 +302,12 @@ plod(cnt, in_refresh) * into account. */ if (CR) - tputs(CR, 0, plodput); + tputs(CR, 1, plodput); else plodput('\r'); if (NC) { if (NL) - tputs(NL, 0, plodput); + tputs(NL, 1, plodput); else plodput('\n'); outline++; @@ -318,7 +318,7 @@ plod(cnt, in_refresh) dontcr: while (outline < destline) { outline++; if (NL) - tputs(NL, 0, plodput); + tputs(NL, 1, plodput); else plodput('\n'); if (plodcnt < 0) @@ -333,7 +333,7 @@ dontcr: while (outline < destline) { goto out; #ifdef notdef if (BT && outcol - destcol > k + 4) { - tputs(BT, 0, plodput); + tputs(BT, 1, plodput); outcol--; outcol &= ~7; continue; @@ -357,14 +357,14 @@ dontcr: while (outline < destline) { if (i > destcol) break; if (TA) - tputs(TA, 0, plodput); + tputs(TA, 1, plodput); else plodput('\t'); outcol = i; } if (destcol - outcol > 4 && i < COLS && (BC || BS)) { if (TA) - tputs(TA, 0, plodput); + tputs(TA, 1, plodput); else plodput('\t'); outcol = i; |