Include window-status-style and window-status-current style in the format.

This commit is contained in:
nicm 2019-03-19 21:09:51 +00:00
parent 161b57869e
commit 8b74e959ef

View File

@ -74,25 +74,43 @@ static const char *options_table_window_size_list[] = {
"#[list=on align=#{status-justify}]" \ "#[list=on align=#{status-justify}]" \
"#[list=left-marker]<#[list=right-marker]>#[list=on]" \ "#[list=left-marker]<#[list=right-marker]>#[list=on]" \
"#{W:" \ "#{W:" \
"#[range=window|#{window_index}" \ "#[range=window|#{window_index} " \
"#{?window_last_flag, #{window-status-last-style},}" \ "#{window-status-style}" \
"#{?window_bell_flag," \ "#{?#{&&:#{window_last_flag}," \
" #{window-status-bell-style}," \ "#{!=:#{window-status-last-style},default}}, " \
"#{?window_activity_flag," \ "#{window-status-last-style}," \
" #{window-status-activity-style},}" \ "}" \
"#{?#{&&:#{window_bell_flag}," \
"#{!=:#{window-status-bell-style},default}}, " \
"#{window-status-bell-style}," \
"#{?#{&&:#{window_activity_flag}," \
"#{!=:" \
"#{window-status-activity-style}," \
"default}}, " \
"#{window-status-activity-style}," \
"}" \ "}" \
"}" \
"]" \ "]" \
"#{T:window-status-format}" \ "#{T:window-status-format}" \
"#[norange default]" \ "#[norange default]" \
"#{?window_end_flag,,#{window-status-separator}}" \ "#{?window_end_flag,,#{window-status-separator}}" \
"," \ "," \
"#[range=window|#{window_index} list=focus" \ "#[range=window|#{window_index} list=focus " \
"#{?window_last_flag, #{window-status-last-style},}" \ "#{window-status-current-style}" \
"#{?window_bell_flag," \ "#{?#{&&:#{window_last_flag}," \
" #{window-status-bell-style}," \ "#{!=:#{window-status-last-style},default}}, " \
"#{?window_activity_flag," \ "#{window-status-last-style}," \
" #{window-status-activity-style},}" \ "}" \
"#{?#{&&:#{window_bell_flag}," \
"#{!=:#{window-status-bell-style},default}}, " \
"#{window-status-bell-style}," \
"#{?#{&&:#{window_activity_flag}," \
"#{!=:" \
"#{window-status-activity-style}," \
"default}}, " \
"#{window-status-activity-style}," \
"}" \ "}" \
"}" \
"]" \ "]" \
"#{T:window-status-current-format}" \ "#{T:window-status-current-format}" \
"#[norange list=on default]" \ "#[norange list=on default]" \