diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2022-03-16 17:00:18 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2022-03-16 17:00:18 +0000 |
commit | e56c9e28c319bd905c079725f1475ae2a7f98fcd (patch) | |
tree | ae451f63c899a0b6a69ef4c0c6b4f2f7008274aa /usr.bin/tmux/options.c | |
parent | f8c18dd0f846b2dd4e285608bfcceb4e76e20ea4 (diff) |
Add an option to set the character used for unused areas of the
terminal, GitHub issue 3110.
Diffstat (limited to 'usr.bin/tmux/options.c')
-rw-r--r-- | usr.bin/tmux/options.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/tmux/options.c b/usr.bin/tmux/options.c index 7fcf6c34ab2..f9716babf74 100644 --- a/usr.bin/tmux/options.c +++ b/usr.bin/tmux/options.c @@ -1,4 +1,4 @@ -/* $OpenBSD: options.c,v 1.67 2021/11/03 13:37:17 nicm Exp $ */ +/* $OpenBSD: options.c,v 1.68 2022/03/16 17:00:17 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1108,6 +1108,8 @@ options_push_changes(const char *name) struct window_pane *wp; int c; + log_debug("%s: %s", __func__, name); + if (strcmp(name, "automatic-rename") == 0) { RB_FOREACH(w, windows, &windows) { if (w->active == NULL) @@ -1130,6 +1132,10 @@ options_push_changes(const char *name) &wp->screen->default_mode); } } + if (strcmp(name, "fill-character") == 0) { + RB_FOREACH(w, windows, &windows) + window_set_fill_character(w); + } if (strcmp(name, "key-table") == 0) { TAILQ_FOREACH(loop, &clients, entry) server_client_set_key_table(loop, NULL); |