diff options
author | 2020-06-02 20:10:23 +0000 | |
---|---|---|
committer | 2020-06-02 20:10:23 +0000 | |
commit | a49f5513a0e512d0b136763d4fca9df71dc814de (patch) | |
tree | 5207baf53e0a451e52f402e79824824d8740bf99 /usr.bin/tmux/screen-write.c | |
parent | Don't leak authmsg. (diff) | |
download | wireguard-openbsd-a49f5513a0e512d0b136763d4fca9df71dc814de.tar.xz wireguard-openbsd-a49f5513a0e512d0b136763d4fca9df71dc814de.zip |
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 'usr.bin/tmux/screen-write.c')
-rw-r--r-- | usr.bin/tmux/screen-write.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/screen-write.c b/usr.bin/tmux/screen-write.c index b372d04bd37..5a7e84d0527 100644 --- a/usr.bin/tmux/screen-write.c +++ b/usr.bin/tmux/screen-write.c @@ -1,4 +1,4 @@ -/* $OpenBSD: screen-write.c,v 1.182 2020/05/27 06:23:23 nicm Exp $ */ +/* $OpenBSD: screen-write.c,v 1.183 2020/06/02 20:10:23 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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 { |