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
Diffstat (limited to '')
-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;
class='logsubject'>Hide line numbers when rendering mdocJune McEnroe Hack: output an extra <td> after rendering mdoc so that line numbers can be hidden based on there being three. This required splitting source-filter and about-filter since on about pages there is no table. 2019-12-18Customize cgit CSSJune McEnroe 2019-12-18Use :target rather than :focus pseudo-classJune McEnroe :target persists after you click on something else. 2019-12-18Copy cgit auxiliary binaries properlyJune McEnroe 2019-12-18Add git.causal.agency cgit configJune McEnroe 2019-12-18Bail from hi if input is binaryJune McEnroe NULs in the input cause an infinite loop in htmlEscape, not to mention regexes obviously not working, etc. 2019-12-16Post "cgit setup"June McEnroe