aboutsummaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authornicm <nicm>2022-03-16 17:00:17 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2022-04-06 14:19:51 +0100
commitfe44b105e4a2d1d7baa12b37d0b84d8c6be9addc (patch)
treeaba35e99e0898df782b9e181ab42c57125c3d313 /options.c
parentad7113e0dbf2e5f5b6b33fd34824c5cf16e9053c (diff)
downloadrtmux-fe44b105e4a2d1d7baa12b37d0b84d8c6be9addc.tar.gz
rtmux-fe44b105e4a2d1d7baa12b37d0b84d8c6be9addc.tar.bz2
rtmux-fe44b105e4a2d1d7baa12b37d0b84d8c6be9addc.zip
Add an option to set the character used for unused areas of the
terminal, GitHub issue 3110.
Diffstat (limited to 'options.c')
-rw-r--r--options.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/options.c b/options.c
index 865ab01f..f9cf2afd 100644
--- a/options.c
+++ b/options.c
@@ -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);