commit ffa1604d4ec3df10468b73b065c0cfe12fedd27c from: Omar Polo date: Tue Mar 02 14:09:34 2021 UTC fix reflow error w/ spaces don't print spaces past the end of the window commit - db1e231512cf9f4d702fcc3668e4e9a517ecee6f commit + ffa1604d4ec3df10468b73b065c0cfe12fedd27c blob - f713ed0e509acc7b1cfee840c59f63fb3b63d30b blob + 136c39737945834a76efea9baf7eec152adafe25 --- ui.c +++ ui.c @@ -178,7 +178,7 @@ wrap_text(const char *prfx1, const char *prfx2, const len = endspc - endword; /* line = endspc; */ if (off != zero) { - if (off + len > COLS) + if (off + len >= COLS) emitline(prfx2, zero, &off); else emitstr(&line, len, &off);