aboutsummaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
-rw-r--r--view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/view.c b/view.c
index 6cac448..d13a968 100644
--- a/view.c
+++ b/view.c
@@ -560,7 +560,7 @@ void view_draw(View *view) {
continue;
} else if (len == 0) {
/* NUL byte encountered, store it and continue */
- cell = (Cell){ .data = "\x00", .len = 1, .width = 0 };
+ cell = (Cell){ .data = "\x00", .len = 1, .width = 2 };
} else {
for (size_t i = 0; i < len; i++)
cell.data[i] = cur[i];