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:
Jeremy Soller 2022-10-21 06:52:05 +00:00
commit 4f90d4f69e
1 changed files with 1 additions and 1 deletions

View File

@ -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();