Method lrs::tty::Tty::acquire

Acquire this terminal as the controlling terminal.

Syntax

impl Tty {
    fn acquire(&self, steal: bool) -> Result<(), Errno>
}

Arguments

NameDescription
steal

Whether to steal this terminal if it's already a controlling terminal of another session.

See also