commit 06bb70e2d193e1c24af11575584456fd3560c56d
parent f7730166807252159475a77976b63545f970d55f
Author: Bakkeby <bakkeby@gmail.com>
Date: Thu, 14 Mar 2024 23:26:36 +0100
externalpipe + reflow: compatibility fix correction ref. #125
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/patch/externalpipe.c b/patch/externalpipe.c
@@ -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