From 5881a96638b63475bf48d506dbb659c481279790 Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Fri, 7 Feb 2020 20:29:32 -0500 Subject: Only treat the first tab as the alignment point --- ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; -- cgit 1.4.1-2-gfad0