commit ea00395a5e2255f146530271d94dd82ef8c427d0 from: Omar Polo date: Tue Aug 24 13:42:49 2021 UTC fill pre text until the last available column, not one less This was fixed previously in the wrap_text case but I forgot to update the hardwrap_text case too. commit - cf8e07837fb2c3a3b01b490b6485acc75865f7fa commit + ea00395a5e2255f146530271d94dd82ef8c427d0 blob - fe4ecd11a67e88de0065617ab124de7a207d81e6 blob + d1e48af78a5e7a3ccf3276a6dd3d997df2e97fb7 --- wrap.c +++ wrap.c @@ -216,7 +216,7 @@ hardwrap_text(struct buffer *buffer, struct line *l, s if (utf8_decode(&state, &cp, *line)) continue; w = utf8_chwidth(cp); - if (cur + w >= width) { + if (cur + w > width) { if (!push_line(buffer, l, start, lastchar-start, cont)) return 0; cont = L_CONTINUATION;