aboutsummaryrefslogtreecommitdiff
path: root/vt.c
diff options
context:
space:
mode:
Diffstat (limited to 'vt.c')
-rw-r--r--vt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vt.c b/vt.c
index 148f2aae..f25f26be 100644
--- a/vt.c
+++ b/vt.c
@@ -663,7 +663,8 @@ action_utf8_print(struct terminal *term, wchar_t wc)
}
}
- term_print(term, wc, width);
+ if (width > 0)
+ term_print(term, wc, width);
}
static void