Crate ioctl_term_light
Source - dimensions
- impl_raw_fd
- Dimensions
- Stderr
- Represents the standard file descriptor (.i.e.: stdout, stdin or stderr), equivalent to
std::io::stdout, std::io::stdin or std::io::stderr (respectively) - Stdin
- Represents the standard file descriptor (.i.e.: stdout, stdin or stderr), equivalent to
std::io::stdout, std::io::stdin or std::io::stderr (respectively) - Stdout
- Represents the standard file descriptor (.i.e.: stdout, stdin or stderr), equivalent to
std::io::stdout, std::io::stdin or std::io::stderr (respectively)
- cols
- Returns the number of columns in the current terminal via tuple
- rows
- Returns the number of rows in the current terminal via tuple
- tuple
- Returns a tuple with (rows, columns) of the current process’es (stdout, stdin and stderr) sequentially.
- tuple_from_raw_fd
- Attempts to obtain a tuple with (rows, columns) of the given std::os::fd::AsRawFd implementor.