externalpipe + reflow: compatibility fix correction ref. #125

This commit is contained in:
Bakkeby 2024-03-14 23:26:36 +01:00
parent f773016680
commit 06bb70e2d1
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ externalpipe(const Arg *arg)
for (n = 0; n < term.row; n++) {
bp = term.line[n];
#if REFLOW_PATCH
lastpos = MIN(tlinelen(TLINE(n)), term.col) - 1;
lastpos = MIN(tlinelen(TLINE(n)) + 1, term.col) - 1;
#else
lastpos = MIN(tlinelen(n) + 1, term.col) - 1;
#endif // REFLOW_PATCH