summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-09-02 15:48:47 -0400
committerJune McEnroe <june@causal.agency>2020-09-02 15:48:47 -0400
commit1563eb7d56922242de38f4bae4f395ea9a9eccee (patch)
tree801648db1598391999a17f5a079ad122f8755cca
parentCall wclear on resize (diff)
downloadcatgirl-1563eb7d56922242de38f4bae4f395ea9a9eccee.tar.gz
catgirl-1563eb7d56922242de38f4bae4f395ea9a9eccee.zip
Don't consider the alignment tab a wrapping point
-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;
?h=1.1&id=5c886e833eb2d58036851f6a1304af7e2b6c79d2&follow=1'>Export References headerJune McEnroe 2019-12-23Add (GNU/)Linux compatibilityJune McEnroe 2019-12-23Handle folded From headersJune McEnroe 2019-12-23Restrict search to plain-text messagesJune McEnroe 2019-12-23Properly support using drill rather than digJune McEnroe 2019-12-22Document dig requirement in imbox(1)June McEnroe 2019-12-22Add CAVEAT about expecting plain-textJune McEnroe 2019-12-22Quote user, pass and mailboxJune McEnroe 2019-12-22Use sequence numbers rather than UIDsJune McEnroe 2019-12-22Use EXAMINE rather than SELECTJune McEnroe 2019-12-22Export To and CC headersJune McEnroe 2019-12-22Add missing includeJune McEnroe 2019-12-22Export In-Reply-To headersJune McEnroe 2019-12-21Add git-fetch-email to READMEJune McEnroe 2019-12-21Clarify purpose in READMEJune McEnroe 2019-12-21Add READMEJune McEnroe 2019-12-21Add copyright header to git-fetch-emailJune McEnroe 2019-12-21Add git-fetch-email to SEE ALSO of imboxJune McEnroe 2019-12-21Add git-fetch-email wrapperJune McEnroe 2019-12-21Determine host by SRV lookupJune McEnroe 2019-12-21Clean up remaining codeJune McEnroe 2019-12-21Clean up mboxrd codeJune McEnroe 2019-12-21Convert CRLF to LFJune McEnroe 2019-12-21Implement -CFSTJune McEnroe 2019-12-21Rewrite aspirational manualJune McEnroe 2019-12-21Null-terminate read literalsJune McEnroe