Function any_terminal_size::any_terminal_size_of_process[][src]

pub fn any_terminal_size_of_process(process_id: u32) -> Option<(Width, Height)>
Expand description

Returns the size of the terminal of the given process id or one of its parents, if available. Iostreams are queried in stdout, stderr and stdin order.

Return None on Error.