diff options
author | June McEnroe <june@causal.agency> | 2020-09-02 15:48:47 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-09-02 15:48:47 -0400 |
commit | 1563eb7d56922242de38f4bae4f395ea9a9eccee (patch) | |
tree | 801648db1598391999a17f5a079ad122f8755cca | |
parent | Call wclear on resize (diff) | |
download | catgirl-1563eb7d56922242de38f4bae4f395ea9a9eccee.tar.gz catgirl-1563eb7d56922242de38f4bae4f395ea9a9eccee.zip |
Don't consider the alignment tab a wrapping point
Diffstat (limited to '')
-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; |