From 06bb70e2d193e1c24af11575584456fd3560c56d Mon Sep 17 00:00:00 2001 From: Bakkeby Date: Thu, 14 Mar 2024 23:26:36 +0100 Subject: [PATCH] externalpipe + reflow: compatibility fix correction ref. #125 --- patch/externalpipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch/externalpipe.c b/patch/externalpipe.c index aea3be2..7df5474 100644 --- 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