summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/format-draw.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2020-05-16 16:02:24 +0000
committernicm <nicm@openbsd.org>2020-05-16 16:02:24 +0000
commit67c16a7c4d17d310924af977dee76cce5e60baf4 (patch)
tree5687d51b44d9a5502e6440cf31fcf9922f470f95 /usr.bin/tmux/format-draw.c
parentSupport embedded styles in the display-message message, GitHub issue (diff)
downloadwireguard-openbsd-67c16a7c4d17d310924af977dee76cce5e60baf4.tar.xz
wireguard-openbsd-67c16a7c4d17d310924af977dee76cce5e60baf4.zip
Add a customize mode where keys and options may be browsed and changed,
includes adding a brief description of each option. Bound to "C" by default.
Diffstat (limited to 'usr.bin/tmux/format-draw.c')
-rw-r--r--usr.bin/tmux/format-draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/format-draw.c b/usr.bin/tmux/format-draw.c
index 9f8b08862b7..471094b264f 100644
--- a/usr.bin/tmux/format-draw.c
+++ b/usr.bin/tmux/format-draw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: format-draw.c,v 1.18 2020/05/16 15:34:08 nicm Exp $ */
+/* $OpenBSD: format-draw.c,v 1.19 2020/05/16 16:02:24 nicm Exp $ */
/*
* Copyright (c) 2019 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -547,7 +547,7 @@ format_draw(struct screen_write_ctx *octx, const struct grid_cell *base,
*/
cp = expanded;
while (*cp != '\0') {
- if (cp[0] != '#' || cp[1] != '[') {
+ if (cp[0] != '#' || cp[1] != '[' || sy.ignore) {
/* See if this is a UTF-8 character. */
if ((more = utf8_open(ud, *cp)) == UTF8_MORE) {
while (*++cp != '\0' && more == UTF8_MORE)