summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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++;