summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-07 20:29:32 -0500
committerJune McEnroe <june@causal.agency>2020-02-07 20:29:32 -0500
commit5881a96638b63475bf48d506dbb659c481279790 (patch)
tree6c0f259448c7b2a2d2e51894e6b6e927764b9835
parentShow one cell to the right of the input cursor (diff)
downloadcatgirl-5881a96638b63475bf48d506dbb659c481279790.tar.gz
catgirl-5881a96638b63475bf48d506dbb659c481279790.zip
Only treat the first tab as the alignment point
-rw-r--r--ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index f71672b..f556719 100644
--- a/ui.c
+++ b/ui.c
@@ -368,7 +368,7 @@ static void wordWrap(WINDOW *win, const char *str) {
 	int align = 0;
 	struct Style style = Reset;
 	while (*str) {
-		if (*str == '\t') {
+		if (*str == '\t' && !align) {
 			waddch(win, ' ');
 			getyx(win, y, align);
 			str++;
08053039251b8377716f9310&follow=1'>Make pretty riplrcJune McEnroe 2013-01-26Default to awesome sessionJune McEnroe 2013-01-26Add git promptJune McEnroe 2013-01-26Actually port awesome config to 3.5June McEnroe 2013-01-26Make pretty zshrcJune McEnroe 2013-01-26Port awesome config to 3.5June McEnroe 2013-01-26Replace RVM with chrubyJune McEnroe