[−][src]Struct tmux_interface::clients_and_sessions::NewSession
Structure for creating a new session
Manual
tmux new-session [-AdDEP] [-c start-directory] [-F format] [-n window-name]
[-s session-name] [-t group-name] [-x width] [-y height]
[shell-command]
(alias: new)
Fields
attach: Option<bool>
behave like attach-session
if session-name
already exists
detached: Option<bool>
new session is not attached to the current terminal
detach_other: Option<bool>
any other clients attached to the session are detached
not_update_env: Option<bool>
update-environment
option will not be applied
print: Option<bool>
print information about the new session after it has been created
cwd: Option<&'a str>
specify starting directory
format: Option<&'a str>
specify different format
window_name: Option<&'a str>
window name of the initial window
session_name: Option<&'a str>
specify a session name
group_name: Option<&'a str>
specify a session group
width: Option<usize>
specify a different width
height: Option<usize>
specify a different height
shell_command: Option<&'a str>
shell command to execute in the initial window
Methods
impl<'a> NewSession<'a>
[src]
Trait Implementations
impl<'a> Default for NewSession<'a>
[src]
fn default() -> NewSession<'a>
[src]
Auto Trait Implementations
impl<'a> Send for NewSession<'a>
impl<'a> Unpin for NewSession<'a>
impl<'a> Sync for NewSession<'a>
impl<'a> UnwindSafe for NewSession<'a>
impl<'a> RefUnwindSafe for NewSession<'a>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,