use crate::options::server::common::constants::*;
use crate::{GetOptionTr, GetUserOption, TmuxCommand};
pub trait GetServerOptionTr: GetOptionTr + GetUserOption {
#[cfg(feature = "tmux_3_1")]
fn backspace<'a>() -> TmuxCommand<'a> {
Self::get(BACKSPACE)
}
#[cfg(feature = "tmux_1_5")]
fn buffer_limit<'a>() -> TmuxCommand<'a> {
Self::get(BUFFER_LIMIT)
}
#[cfg(feature = "tmux_2_4")]
fn command_alias<'a>() -> TmuxCommand<'a> {
Self::get(COMMAND_ALIAS)
}
#[cfg(feature = "tmux_3_2")]
fn copy_command<'a>() -> TmuxCommand<'a> {
Self::get(COPY_COMMAND)
}
#[cfg(feature = "tmux_2_1")]
fn default_terminal<'a>() -> TmuxCommand<'a> {
Self::get(DEFAULT_TERMINAL)
}
#[cfg(feature = "tmux_1_2")]
fn escape_time<'a>() -> TmuxCommand<'a> {
Self::get(ESCAPE_TIME)
}
#[cfg(feature = "tmux_3_2")]
fn editor<'a>() -> TmuxCommand<'a> {
Self::get(EDITOR)
}
#[cfg(feature = "tmux_2_7")]
fn exit_empty<'a>() -> TmuxCommand<'a> {
Self::get(EXIT_EMPTY)
}
#[cfg(feature = "tmux_1_4")]
fn exit_unattached<'a>() -> TmuxCommand<'a> {
Self::get(EXIT_UNATTACHED)
}
#[cfg(feature = "tmux_3_2")]
fn extended_keys<'a>() -> TmuxCommand<'a> {
Self::get(EXTENDED_KEYS)
}
#[cfg(feature = "tmux_1_9")]
fn focus_events<'a>() -> TmuxCommand<'a> {
Self::get(FOCUS_EVENTS)
}
#[cfg(feature = "tmux_2_1")]
fn history_file<'a>() -> TmuxCommand<'a> {
Self::get(HISTORY_FILE)
}
#[cfg(feature = "tmux_2_0")]
fn message_limit<'a>() -> TmuxCommand<'a> {
Self::get(MESSAGE_LIMIT)
}
#[cfg(feature = "tmux_3_3")]
fn prompt_history_limit<'a>() -> TmuxCommand<'a> {
Self::get(PROMPT_HISTORY_LIMIT)
}
#[cfg(feature = "tmux_1_5")]
fn set_clipboard<'a>() -> TmuxCommand<'a> {
Self::get(SET_CLIPBOARD)
}
#[cfg(feature = "tmux_3_2")]
fn terminal_features<'a>() -> TmuxCommand<'a> {
Self::get(TERMINAL_FEATURES)
}
#[cfg(feature = "tmux_2_0")]
fn terminal_overrides<'a>() -> TmuxCommand<'a> {
Self::get(TERMINAL_OVERRIDES)
}
#[cfg(feature = "tmux_3_0")]
fn user_keys<'a>() -> TmuxCommand<'a> {
Self::get(USER_KEYS)
}
#[cfg(all(feature = "tmux_1_2", not(feature = "tmux_2_0")))]
fn quiet<'a>() -> TmuxCommand<'a> {
Self::get(QUIET)
}
#[cfg(all(feature = "tmux_1_3", not(feature = "tmux_1_4")))]
fn detach_on_destroy<'a>() -> TmuxCommand<'a> {
Self::get(DETACH_ON_DESTROY)
}
}