#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_2_1")))]
use crate::ModeMouse;
#[cfg(feature = "tmux_2_3")]
use crate::PaneBorderStatus;
#[cfg(feature = "tmux_2_9")]
use crate::WindowSize;
use crate::{ClockModeStyle, StatusKeys, Switch};
#[cfg(feature = "tmux_2_6")]
pub const ACTIVITY_ACTION: &str = "activity-action";
#[cfg(feature = "tmux_1_0")]
pub const AGGRESSIVE_RESIZE: &str = "aggressive-resize";
#[cfg(all(feature = "tmux_1_6", not(feature = "tmux_3_0")))]
pub const ALLOW_RENAME: &str = "allow-rename";
#[cfg(all(feature = "tmux_1_2", not(feature = "tmux_3_0")))]
pub const ALTERNATE_SCREEN: &str = "alternate-screen";
#[cfg(feature = "tmux_1_0")] pub const AUTOMATIC_RENAME: &str = "automatic-rename";
#[cfg(feature = "tmux_1_9")]
pub const AUTOMATIC_RENAME_FORMAT: &str = "automatic-rename-format";
#[cfg(all(feature = "tmux_1_7", not(feature = "tmux_2_1")))]
pub const C0_CHANGE_INTERVAL: &str = "c0-change-interval";
#[cfg(all(feature = "tmux_1_7", not(feature = "tmux_2_1")))]
pub const C0_CHANGE_TRIGGER: &str = "c0-change-trigger";
#[cfg(feature = "tmux_1_0")]
pub const CLOCK_MODE_COLOUR: &str = "clock-mode-colour";
#[cfg(feature = "tmux_1_0")]
pub const CLOCK_MODE_STYLE: &str = "clock-mode-style";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_2_9")))]
pub const FORCE_HEIGHT: &str = "force-height";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_2_9")))]
pub const FORCE_WIDTH: &str = "force-width";
#[cfg(all(feature = "tmux_1_7", not(feature = "tmux_1_8")))]
pub const LAYOUT_HISTORY_LIMIT: &str = "layout-history-limit";
#[cfg(feature = "tmux_1_0")]
pub const MAIN_PANE_HEIGHT: &str = "main-pane-height";
#[cfg(feature = "tmux_1_0")]
pub const MAIN_PANE_WIDTH: &str = "main-pane-width";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_1_9")))]
pub const MODE_ATTR: &str = "mode-attr";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_1_9")))]
pub const MODE_BG: &str = "mode-bg";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_1_9")))]
pub const MODE_FG: &str = "mode-fg";
#[cfg(feature = "tmux_1_0")]
pub const MODE_KEYS: &str = "mode-keys";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_2_1")))]
pub const MODE_MOUSE: &str = "mode-mouse";
#[cfg(feature = "tmux_1_9")]
pub const MODE_STYLE: &str = "mode-style";
#[cfg(feature = "tmux_1_0")]
pub const MONITOR_ACTIVITY: &str = "monitor-activity";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_2_0")))]
pub const MONITOR_CONTENT: &str = "monitor-content";
#[cfg(feature = "tmux_2_6")]
pub const MONITOR_BELL: &str = "monitor-bell";
#[cfg(feature = "tmux_1_4")]
pub const MONITOR_SILENCE: &str = "monitor-silence";
#[cfg(feature = "tmux_1_4")]
pub const OTHER_PANE_HEIGHT: &str = "other-pane-height";
#[cfg(feature = "tmux_1_4")]
pub const OTHER_PANE_WIDTH: &str = "other-pane-width";
#[cfg(feature = "tmux_1_9")]
pub const PANE_ACTIVE_BORDER_STYLE: &str = "pane-active-border-style";
#[cfg(all(feature = "tmux_0_8", not(feature = "tmux_1_9")))]
pub const PANE_ACTIVE_BORDER_BG: &str = "pane-active-border-bg";
#[cfg(all(feature = "tmux_0_8", not(feature = "tmux_1_9")))]
pub const PANE_ACTIVE_BORDER_FG: &str = "pane-active-border-fg";
#[cfg(feature = "tmux_1_6")]
pub const PANE_BASE_INDEX: &str = "pane-base-index";
#[cfg(all(feature = "tmux_0_8", not(feature = "tmux_1_9")))]
pub const PANE_BORDER_BG: &str = "pane-border-bg";
#[cfg(all(feature = "tmux_0_8", not(feature = "tmux_1_9")))]
pub const PANE_BORDER_FG: &str = "pane-border-fg";
#[cfg(feature = "tmux_2_3")]
pub const PANE_BORDER_FORMAT: &str = "pane-border-format";
#[cfg(feature = "tmux_2_3")]
pub const PANE_BORDER_STATUS: &str = "pane-border-status";
#[cfg(feature = "tmux_2_0")]
pub const PANE_BORDER_STYLE: &str = "pane-border-style";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_3_0")))]
pub const REMAIN_ON_EXIT: &str = "remain-on-exit";
#[cfg(all(feature = "tmux_1_2", not(feature = "tmux_3_2")))]
pub const SYNCHRONIZE_PANES: &str = "synchronize-panes";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_2_2")))]
pub const UTF8: &str = "utf8";
#[cfg(all(feature = "tmux_2_1", not(feature = "tmux_3_0")))]
pub const WINDOW_ACTIVE_STYLE: &str = "window-active-style";
#[cfg(all(feature = "tmux_1_6", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_BELL_ATTR: &str = "window-status-bell-attr";
#[cfg(all(feature = "tmux_1_6", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_BELL_BG: &str = "window-status-bell-bg";
#[cfg(all(feature = "tmux_1_6", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_BELL_FG: &str = "window-status-bell-fg";
#[cfg(all(feature = "tmux_1_6", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_CONTENT_ATTR: &str = "window-status-content-attr";
#[cfg(all(feature = "tmux_1_6", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_CONTENT_BG: &str = "window-status-content-bg";
#[cfg(all(feature = "tmux_1_6", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_CONTENT_FG: &str = "window-status-content-fg";
#[cfg(all(feature = "tmux_1_6", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_ACTIVITY_ATTR: &str = "window-status-activity-attr";
#[cfg(all(feature = "tmux_1_6", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_ACTIVITY_BG: &str = "window-status-activity-bg";
#[cfg(all(feature = "tmux_1_6", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_ACTIVITY_FG: &str = "window-status-activity-fg";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_ATTR: &str = "window-status-attr";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_BG: &str = "window-status-bg";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_FG: &str = "window-status-fg";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_CURRENT_ATTR: &str = "window-status-current-attr";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_CURRENT_BG: &str = "window-status-current-bg";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_CURRENT_FG: &str = "window-status-current-fg";
#[cfg(all(feature = "tmux_1_3", not(feature = "tmux_1_6")))]
pub const WINDOW_STATUS_ALERT_ATTR: &str = "window-status-alert-attr";
#[cfg(all(feature = "tmux_1_3", not(feature = "tmux_1_6")))]
pub const WINDOW_STATUS_ALERT_BG: &str = "window-status-alert-bg";
#[cfg(all(feature = "tmux_1_3", not(feature = "tmux_1_6")))]
pub const WINDOW_STATUS_ALERT_FG: &str = "window-status-alert-fg";
#[cfg(feature = "tmux_1_9")]
pub const WINDOW_STATUS_ACTIVITY_STYLE: &str = "window-status-activity-style";
#[cfg(feature = "tmux_1_9")]
pub const WINDOW_STATUS_BELL_STYLE: &str = "window-status-bell-style";
#[cfg(all(feature = "tmux_1_9", not(feature = "tmux_2_0")))]
pub const WINDOW_STATUS_CONTENT_STYLE: &str = "window-status-content-style";
#[cfg(feature = "tmux_1_2")]
pub const WINDOW_STATUS_CURRENT_FORMAT: &str = "window-status-current-format";
#[cfg(all(feature = "tmux_1_8", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_LAST_ATTR: &str = "window-status-last-attr";
#[cfg(all(feature = "tmux_1_8", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_LAST_BG: &str = "window-status-last-bg";
#[cfg(all(feature = "tmux_1_8", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_LAST_FG: &str = "window-status-last-fg";
#[cfg(feature = "tmux_1_9")]
pub const WINDOW_STATUS_CURRENT_STYLE: &str = "window-status-current-style";
#[cfg(feature = "tmux_1_2")]
pub const WINDOW_STATUS_FORMAT: &str = "window-status-format";
#[cfg(feature = "tmux_1_9")]
pub const WINDOW_STATUS_LAST_STYLE: &str = "window-status-last-style";
#[cfg(feature = "tmux_1_7")]
pub const WINDOW_STATUS_SEPARATOR: &str = "window-status-separator";
#[cfg(feature = "tmux_1_9")]
pub const WINDOW_STATUS_STYLE: &str = "window-status-style";
#[cfg(feature = "tmux_2_9")]
pub const WINDOW_SIZE: &str = "window-size";
#[cfg(all(feature = "tmux_1_2", not(feature = "tmux_1_6")))]
pub const WORD_SEPARATORS: &str = "word-separators";
#[cfg(all(feature = "tmux_2_1", not(feature = "tmux_3_0")))]
pub const WINDOW_STYLE: &str = "window-style";
#[cfg(feature = "tmux_1_7")]
pub const WRAP_SEARCH: &str = "wrap-search";
#[cfg(feature = "tmux_1_0")]
pub const XTERM_KEYS: &str = "xterm-keys";
#[cfg(feature = "tmux_1_0")]
pub const AGGRESSIVE_RESIZE_DEFAULT: Switch = Switch::Off;
#[cfg(all(feature = "tmux_2_7", not(feature = "tmux_3_0")))]
pub const ALLOW_RENAME_DEFAULT: Switch = Switch::Off;
#[cfg(all(feature = "tmux_1_6", not(feature = "tmux_2_7")))]
pub const ALLOW_RENAME_DEFAULT: Switch = Switch::On;
#[cfg(all(feature = "tmux_1_2", not(feature = "tmux_3_0")))]
pub const ALTERNATE_SCREEN_DEFAULT: Switch = Switch::On;
#[cfg(feature = "tmux_1_0")] pub const AUTOMATIC_RENAME_DEFAULT: Switch = Switch::On;
#[cfg(feature = "tmux_1_9")]
pub const AUTOMATIC_RENAME_FORMAT_DEFAULT: &str =
"#{?pane_in_mode,[tmux],#{pane_current_command}}#{?pane_dead,[dead],}";
#[cfg(all(feature = "tmux_1_7", not(feature = "tmux_2_1")))]
pub const C0_CHANGE_INTERVAL_DEFAULT: usize = 100;
#[cfg(all(feature = "tmux_1_7", not(feature = "tmux_2_1")))]
pub const C0_CHANGE_TRIGGER_DEFAULT: usize = 250;
#[cfg(feature = "tmux_1_0")]
pub const CLOCK_MODE_COLOUR_DEFAULT: &str = "blue";
#[cfg(feature = "tmux_1_0")]
pub const CLOCK_MODE_STYLE_DEFAULT: ClockModeStyle = ClockModeStyle::H24;
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_2_9")))]
pub const FORCE_HEIGHT_DEFAULT: usize = 0;
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_2_9")))]
pub const FORCE_WIDTH_DEFAULT: usize = 0;
#[cfg(all(feature = "tmux_1_7", not(feature = "tmux_1_8")))]
pub const LAYOUT_HISTORY_LIMIT_DEFAULT: usize = 20;
#[cfg(feature = "tmux_1_0")]
pub const MAIN_PANE_HEIGHT_DEFAULT: usize = 24;
#[cfg(feature = "tmux_1_0")]
pub const MAIN_PANE_WIDTH_DEFAULT: usize = 80;
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_1_9")))]
pub const MODE_ATTR_DEFAULT: &str = "none";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_1_9")))]
pub const MODE_BG_DEFAULT: &str = "yellow";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_1_9")))]
pub const MODE_FG_DEFAULT: &str = "black";
#[cfg(feature = "tmux_1_0")]
pub const MODE_KEYS_DEFAULT: StatusKeys = StatusKeys::Emacs;
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_2_1")))]
pub const MODE_MOUSE_DEFAULT: ModeMouse = ModeMouse::Off;
#[cfg(feature = "tmux_1_9")]
pub const MODE_STYLE_DEFAULT: &str = "bg=yellow,fg=black";
#[cfg(feature = "tmux_1_0")]
pub const MONITOR_ACTIVITY_DEFAULT: Switch = Switch::Off;
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_2_0")))]
pub const MONITOR_CONTENT_DEFAULT: &str = "";
#[cfg(feature = "tmux_2_6")]
pub const MONITOR_BELL_DEFAULT: Switch = Switch::On;
#[cfg(feature = "tmux_1_4")]
pub const MONITOR_SILENCE_DEFAULT: usize = 0;
#[cfg(feature = "tmux_1_4")]
pub const OTHER_PANE_HEIGHT_DEFAULT: usize = 0;
#[cfg(feature = "tmux_1_4")]
pub const OTHER_PANE_WIDTH_DEFAULT: usize = 0;
#[cfg(all(feature = "tmux_1_9", not(feature = "tmux_3_2")))]
pub const PANE_ACTIVE_BORDER_STYLE_DEFAULT: &str = "fg=green";
#[cfg(feature = "tmux_3_2")]
pub const PANE_ACTIVE_BORDER_STYLE_DEFAULT: &str =
"#{?pane_in_mode,fg=yellow,#{?synchronize-panes,fg=red,fg=green}}";
#[cfg(all(feature = "tmux_0_8", not(feature = "tmux_1_9")))]
pub const PANE_ACTIVE_BORDER_BG_DEFAULT: &str = "default";
#[cfg(all(feature = "tmux_0_8", not(feature = "tmux_1_9")))]
pub const PANE_ACTIVE_BORDER_FG_DEFAULT: &str = "green";
#[cfg(feature = "tmux_1_6")]
pub const PANE_BASE_INDEX_DEFAULT: usize = 0;
#[cfg(all(feature = "tmux_0_8", not(feature = "tmux_1_9")))]
pub const PANE_BORDER_BG_DEFAULT: &str = "default";
#[cfg(all(feature = "tmux_0_8", not(feature = "tmux_1_9")))]
pub const PANE_BORDER_FG_DEFAULT: &str = "default";
#[cfg(feature = "tmux_2_3")]
pub const PANE_BORDER_FORMAT_DEFAULT: &str =
"#{?pane_active,#[reverse],}#{pane_index}#[default] \"#{pane_title}\"";
#[cfg(feature = "tmux_2_3")]
pub const PANE_BORDER_STATUS_DEFAULT: PaneBorderStatus = PaneBorderStatus::Off;
#[cfg(feature = "tmux_2_0")]
pub const PANE_BORDER_STYLE_DEFAULT: &str = "default";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_3_0")))]
pub const REMAIN_ON_EXIT_DEFAULT: Switch = Switch::Off;
#[cfg(all(feature = "tmux_1_2", not(feature = "tmux_3_2")))]
pub const SYNCHRONIZE_PANES_DEFAULT: Switch = Switch::Off;
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_2_2")))]
pub const UTF8_DEFAULT: Switch = Switch::Off;
#[cfg(all(feature = "tmux_2_1", not(feature = "tmux_3_0")))]
pub const WINDOW_ACTIVE_STYLE_DEFAULT: &str = "default";
#[cfg(all(feature = "tmux_2_9", not(feature = "tmux_3_1")))]
pub const WINDOW_SIZE_DEFAULT: WindowSize = WindowSize::Smallest;
#[cfg(feature = "tmux_3_1")]
pub const WINDOW_SIZE_DEFAULT: WindowSize = WindowSize::Latest;
#[cfg(all(feature = "tmux_2_1", not(feature = "tmux_3_0")))]
pub const WINDOW_STYLE_DEFAULT: &str = "default";
#[cfg(all(feature = "tmux_1_6", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_ACTIVITY_ATTR_DEFAULT: &str = "reverse";
#[cfg(all(feature = "tmux_1_6", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_ACTIVITY_BG_DEFAULT: &str = "default";
#[cfg(all(feature = "tmux_1_6", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_ACTIVITY_FG_DEFAULT: &str = "default";
#[cfg(feature = "tmux_1_9")]
pub const WINDOW_STATUS_ACTIVITY_STYLE_DEFAULT: &str = "reverse";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_ATTR_DEFAULT: &str = "none";
#[cfg(all(feature = "tmux_1_6", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_BELL_ATTR_DEFAULT: &str = "reverse";
#[cfg(all(feature = "tmux_1_6", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_BELL_BG_DEFAULT: &str = "default";
#[cfg(all(feature = "tmux_1_6", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_BELL_FG_DEFAULT: &str = "default";
#[cfg(all(feature = "tmux_1_6", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_CONTENT_ATTR_DEFAULT: &str = "reverse";
#[cfg(all(feature = "tmux_1_6", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_CONTENT_BG_DEFAULT: &str = "default";
#[cfg(all(feature = "tmux_1_6", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_CONTENT_FG_DEFAULT: &str = "default";
#[cfg(feature = "tmux_1_9")]
pub const WINDOW_STATUS_BELL_STYLE_DEFAULT: &str = "reverse";
#[cfg(all(feature = "tmux_1_9", not(feature = "tmux_2_0")))]
pub const WINDOW_STATUS_CONTENT_STYLE_DEFAULT: &str = "reverse";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_BG_DEFAULT: &str = "default";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_CURRENT_ATTR_DEFAULT: &str = "none";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_CURRENT_BG_DEFAULT: &str = "default";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_CURRENT_FG_DEFAULT: &str = "default";
#[cfg(all(feature = "tmux_1_3", not(feature = "tmux_1_6")))]
pub const WINDOW_STATUS_ALERT_ATTR_DEFAULT: &str = "reverse";
#[cfg(all(feature = "tmux_1_3", not(feature = "tmux_1_6")))]
pub const WINDOW_STATUS_ALERT_BG_DEFAULT: &str = "default";
#[cfg(all(feature = "tmux_1_3", not(feature = "tmux_1_6")))]
pub const WINDOW_STATUS_ALERT_FG_DEFAULT: &str = "default";
#[cfg(all(feature = "tmux_1_2", not(feature = "tmux_2_1")))]
pub const WINDOW_STATUS_CURRENT_FORMAT_DEFAULT: &str = "#I:#W#F";
#[cfg(feature = "tmux_2_1")]
pub const WINDOW_STATUS_CURRENT_FORMAT_DEFAULT: &str = "#I:#W#{?window_flags,#{window_flags}, }";
#[cfg(feature = "tmux_1_9")]
pub const WINDOW_STATUS_CURRENT_STYLE_DEFAULT: &str = "default";
#[cfg(all(feature = "tmux_1_0", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_FG_DEFAULT: &str = "default";
#[cfg(all(feature = "tmux_1_2", not(feature = "tmux_2_1")))]
pub const WINDOW_STATUS_FORMAT_DEFAULT: &str = "#I:#W#F";
#[cfg(feature = "tmux_2_1")]
pub const WINDOW_STATUS_FORMAT_DEFAULT: &str = "#I:#W#{?window_flags,#{window_flags}, }";
#[cfg(all(feature = "tmux_1_8", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_LAST_ATTR_DEFAULT: &str = "none";
#[cfg(all(feature = "tmux_1_8", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_LAST_BG_DEFAULT: &str = "default";
#[cfg(all(feature = "tmux_1_8", not(feature = "tmux_1_9")))]
pub const WINDOW_STATUS_LAST_FG_DEFAULT: &str = "default";
#[cfg(feature = "tmux_1_9")]
pub const WINDOW_STATUS_LAST_STYLE_DEFAULT: &str = "default";
#[cfg(feature = "tmux_1_7")]
pub const WINDOW_STATUS_SEPARATOR_DEFAULT: &str = "\" \"";
#[cfg(all(feature = "tmux_1_2", not(feature = "tmux_1_6")))]
pub const WORD_SEPARATORS_DEFAULT: &str = " -_@";
#[cfg(feature = "tmux_1_9")]
pub const WINDOW_STATUS_STYLE_DEFAULT: &str = "default";
#[cfg(feature = "tmux_1_7")]
pub const WRAP_SEARCH_DEFAULT: Switch = Switch::On;
#[cfg(feature = "tmux_1_0")]
pub const XTERM_KEYS_DEFAULT: Switch = Switch::On;