Type Alias tmux_interface::commands::windows_and_panes::new_window::NewW
source · pub type NewW<'a> = NewWindow<'a>;
Aliased Type§
struct NewW<'a> {
pub after: bool,
pub before: bool,
pub detached: bool,
pub kill: bool,
pub print: bool,
pub select: bool,
pub start_directory: Option<Cow<'a, str>>,
pub environment: Option<Cow<'a, str>>,
pub format: Option<Cow<'a, str>>,
pub window_name: Option<Cow<'a, str>>,
pub target_window: Option<Cow<'a, str>>,
pub shell_command: Option<Cow<'a, str>>,
}
Fields§
§after: bool
[-a]
- new window is inserted at the next index up from the specified target-window
before: bool
[-b]
- new window is inserted at the next index before the specified target-window
detached: bool
[-d]
- the session does not make the new window the current window
kill: bool
[-k]
- destroy if already exists
print: bool
[-P]
- print information about the new window after it has been created
select: bool
[-S]
- is given and a window named window-name already exists, it is selected
start_directory: Option<Cow<'a, str>>
[-c start-directory]
- start-directory
environment: Option<Cow<'a, str>>
[-e environment]
- environment
format: Option<Cow<'a, str>>
[-F format]
- format
window_name: Option<Cow<'a, str>>
[-n window-name]
- window-name
target_window: Option<Cow<'a, str>>
[-t target-window]
- target-window
shell_command: Option<Cow<'a, str>>
[shell-command]
- shell-command