Don't consider the alignment tab a wrapping point

weechat-hashes
C. McEnroe 2020-09-02 15:48:47 -04:00
parent 17898622e3
commit 1563eb7d56
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ static int flow(struct Lines *hard, int cols, const struct Line *soft) {
if (width <= cols) { if (width <= cols) {
if (tab && width < cols) align = width; if (tab && width < cols) align = width;
if (iswspace(wc)) wrap = str; if (iswspace(wc) && !tab) wrap = str;
if (*str == '-') wrap = &str[1]; if (*str == '-') wrap = &str[1];
str += n; str += n;
continue; continue;