summary refs log tree commit diff
path: root/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'buffer.c')
-rw-r--r--buffer.c2
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;