diff options
author | C. McEnroe | 2020-09-02 15:48:47 -0400 |
---|---|---|
committer | C. McEnroe | 2020-09-02 15:48:47 -0400 |
commit | 1563eb7d56922242de38f4bae4f395ea9a9eccee (patch) | |
tree | 801648db1598391999a17f5a079ad122f8755cca /buffer.c | |
parent | 17898622e3e9a9cedd8cf78db3a9339ec4a4a659 (diff) |
Don't consider the alignment tab a wrapping point
Diffstat (limited to 'buffer.c')
-rw-r--r-- | buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buffer.c b/buffer.c index 9fee0b0..bc4a2b8 100644 --- a/buffer.c +++ b/buffer.c @@ -136,7 +136,7 @@ static int flow(struct Lines *hard, int cols, const struct Line *soft) { if (width <= cols) { if (tab && width < cols) align = width; - if (iswspace(wc)) wrap = str; + if (iswspace(wc) && !tab) wrap = str; if (*str == '-') wrap = &str[1]; str += n; continue; |