Type Alias tmux_interface::commands::status_line::display_popup::Popup
source · pub type Popup<'a> = DisplayPopup<'a>;
Aliased Type§
struct Popup<'a> {Show 17 fields
pub no_border: bool,
pub close: bool,
pub close_on_exit: bool,
pub close_on_success: bool,
pub border_lines: Option<PopupBorderLinesType>,
pub target_client: Option<Cow<'a, str>>,
pub start_directory: Option<Cow<'a, str>>,
pub environment: Option<(Cow<'a, str>, Cow<'a, str>)>,
pub height: Option<Size>,
pub style: Option<Cow<'a, str>>,
pub border_style: Option<Cow<'a, str>>,
pub target_pane: Option<Cow<'a, str>>,
pub title: Option<Cow<'a, str>>,
pub width: Option<Size>,
pub x: Option<Size>,
pub y: Option<Size>,
pub shell_command: Option<Cow<'a, str>>,
}
Fields§
§no_border: bool
[-B]
- not surround the popup by a border
close: bool
[-C]
- closes any popup on the client
close_on_exit: bool
[-E]
- closes the popup automatically when shell-command exits
close_on_success: bool
[-EE]
- closes the popup only if shell-command exited with success
border_lines: Option<PopupBorderLinesType>
[-b border-lines]
- sets the type of border line for the popup. When -B is specified, the
-b option is ignored. See popup-border-lines for possible values for border-lines
target_client: Option<Cow<'a, str>>
[-c target-client]
- target-client
start_directory: Option<Cow<'a, str>>
[-d start-directory]
-
environment: Option<(Cow<'a, str>, Cow<'a, str>)>
[-e environment]
- takes the form ‘VARIABLE=value’ and sets an environment variable for
the popup; it may be specified multiple times
height: Option<Size>
[-h height]
- height of the popup
style: Option<Cow<'a, str>>
[-s style]
- sets the style for the popup
border_style: Option<Cow<'a, str>>
[-S border-style]
- sets the style for the popup border
target_pane: Option<Cow<'a, str>>
[-t target-pane]
- target-pane
title: Option<Cow<'a, str>>
[-T title]
- is a format for the popup title
width: Option<Size>
[-w width]
- width of the popup
x: Option<Size>
[-x position]
- x position of the popup
y: Option<Size>
[-y position]
- y position of the popup
shell_command: Option<Cow<'a, str>>
[shell-command]
- shell-command