Commit Diff
--- 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;