Docs.rs
rust-apt-0.8.0
rust-apt 0.8.0
Docs.rs crate page
GPL-3.0-or-later
Links
Repository
crates.io
Source
Owners
volitank
Dependencies
cxx ^1.0
normal
paste ^1.0
normal
terminal_size ^0.3.0
normal
cxx-build ^1.0
build
Versions
68.26%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
terminal_height
rust_
apt
0.8.0
terminal_
height
Sections
Returns:
In rust_
apt::
util
rust_apt
::
util
Function
terminal_
height
Copy item path
Source
pub fn terminal_height() ->
usize
Expand description
Get the terminal’s height, i.e. the number of rows it has.
§
Returns:
The terminal height, or
24
if it cannot be determined.