Clear wrapping point at alignment tab

This fixes odd wrapping when a nick contains a hyphen and there are no
further wrapping points.
master
C. McEnroe 2020-10-09 22:52:44 -04:00
parent 1cc61723c9
commit 53f23942a4
1 changed files with 1 additions and 0 deletions

View File

@ -141,6 +141,7 @@ static int flow(struct Lines *hard, int cols, const struct Line *soft) {
if (tab && width < cols) {
align = width;
wrap = NULL;
}
if (iswspace(wc) && !tab) {
wrap = str;