tweak description of terminal_size_pixels() to fit in with the rest
This commit is contained in:
parent
a448f510f0
commit
0e905906d4
|
@ -19,7 +19,7 @@ pub fn terminal_size() -> io::Result<(u16, u16)> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get the size of the terminal, in pixels
|
/// Get the size of the terminal in pixels.
|
||||||
pub fn terminal_size_pixels() -> io::Result<(u16, u16)> {
|
pub fn terminal_size_pixels() -> io::Result<(u16, u16)> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut size: TermSize = mem::zeroed();
|
let mut size: TermSize = mem::zeroed();
|
||||||
|
|
Loading…
Reference in New Issue