summaryrefslogtreecommitdiffstats
path: root/screen-write.c
diff options
context:
space:
mode:
authornicm <nicm>2020-06-02 20:10:23 +0000
committernicm <nicm>2020-06-02 20:10:23 +0000
commit2a4d4bda2b94602e9f999ff0b59efa92613f75a9 (patch)
tree86cd9c1ee3eac4f1a9aacb9b9d1a3062ec106a09 /screen-write.c
parentf5366ff828cde78c140efa2dd9453956b59f5241 (diff)
Allow UTF-8 characters of width 0 to be stored, it is useful to be able
to put padding cells in as width 0.
Diffstat (limited to 'screen-write.c')
-rw-r--r--screen-write.c2
1 files changed, 1 insertions, 1 deletions
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 {