From 2a4d4bda2b94602e9f999ff0b59efa92613f75a9 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 2 Jun 2020 20:10:23 +0000 Subject: Allow UTF-8 characters of width 0 to be stored, it is useful to be able to put padding cells in as width 0. --- screen-write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'screen-write.c') diff --git a/screen-write.c b/screen-write.c index 33e3f975..68c3aa76 100644 --- a/screen-write.c +++ b/screen-write.c @@ -39,7 +39,7 @@ static const struct grid_cell *screen_write_combine(struct screen_write_ctx *, const struct utf8_data *, u_int *); static const struct grid_cell screen_write_pad_cell = { - { { ' ' }, 0, 1, 1 }, 0, GRID_FLAG_PADDING, 8, 8, 0 + { { 0 }, 0, 0, 0 }, 0, GRID_FLAG_PADDING, 8, 8, 0 }; struct screen_write_collect_item { -- cgit