commit 1247b8cc41193a0a7136e6549c133cf0d8dd303b from: Omar Polo date: Fri Jul 16 13:59:33 2021 UTC wrap the page until the last column commit - 218ac7f60aef50ad9efd0a267a634baebdb9ddf2 commit + 1247b8cc41193a0a7136e6549c133cf0d8dd303b blob - 6bec90ed882d8c0ef15417ec3dea941c0b1f127c blob + 5f22692e02c8b74c7a144dd07420fb6daf6dfa24 --- wrap.c +++ wrap.c @@ -163,7 +163,7 @@ wrap_text(struct buffer *buffer, const char *prfx, str if (utf8_decode(&state, &cp, *line)) continue; w = utf8_chwidth(cp); - if (cur + w >= width -1) { + if (cur + w > width) { end = lastsep == NULL ? utf8_next_cp((char*)lastchar) : utf8_next_cp((char*)lastsep);