aboutsummaryrefslogtreecommitdiff
path: root/options-table.c
diff options
context:
space:
mode:
authornicm <nicm>2019-11-28 08:38:04 +0000
committernicm <nicm>2019-11-28 08:38:04 +0000
commit7fb8eec8f13bf54b3a6c06763d2cf0b29df51281 (patch)
treec7cf288fbe4d9295ba79fb087a5d760d30e01c52 /options-table.c
parenteb4d60b1ce0e2dc917bd47b10a3ce89de840448a (diff)
downloadrtmux-7fb8eec8f13bf54b3a6c06763d2cf0b29df51281.tar.gz
rtmux-7fb8eec8f13bf54b3a6c06763d2cf0b29df51281.tar.bz2
rtmux-7fb8eec8f13bf54b3a6c06763d2cf0b29df51281.zip
status-left and status-right need push-default also, reported by Eric
Pruitt in GitHub issue 1989.
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/options-table.c b/options-table.c
index 6e2db178..1d22b662 100644
--- a/options-table.c
+++ b/options-table.c
@@ -70,7 +70,10 @@ static const char *options_table_window_size_list[] = {
/* Status line format. */
#define OPTIONS_TABLE_STATUS_FORMAT1 \
"#[align=left range=left #{status-left-style}]" \
- "#{T;=/#{status-left-length}:status-left}#[norange default]" \
+ "#[push-default]" \
+ "#{T;=/#{status-left-length}:status-left}" \
+ "#[pop-default]" \
+ "#[norange default]" \
"#[list=on align=#{status-justify}]" \
"#[list=left-marker]<#[list=right-marker]>#[list=on]" \
"#{W:" \
@@ -126,7 +129,10 @@ static const char *options_table_window_size_list[] = {
"#{?window_end_flag,,#{window-status-separator}}" \
"}" \
"#[nolist align=right range=right #{status-right-style}]" \
- "#{T;=/#{status-right-length}:status-right}#[norange default]"
+ "#[push-default]" \
+ "#{T;=/#{status-right-length}:status-right}" \
+ "#[pop-default]" \
+ "#[norange default]"
#define OPTIONS_TABLE_STATUS_FORMAT2 \
"#[align=centre]#{P:#{?pane_active,#[reverse],}" \
"#{pane_index}[#{pane_width}x#{pane_height}]#[default] }"