diff options
author | nicm <nicm> | 2022-03-16 17:00:17 +0000 |
---|---|---|
committer | nicm <nicm> | 2022-03-16 17:00:17 +0000 |
commit | e6e737ac0bf9a5be729b5c71f3a582355432d041 (patch) | |
tree | 4bce7dfaad1640bc11bd2051d78eac5fc8769f5f /options.c | |
parent | bfbe972225d10be7f6eaca22d88d90df4fae09c9 (diff) |
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.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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); |