Merge branch 'desc-tweak' into 'master'
tweak description of terminal_size_pixels() to fit in with the rest See merge request redox-os/termion!169
This commit is contained in:
commit
4f90d4f69e
|
@ -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