Skip to content

Commit

Permalink
fixup! Query window pixel size on Unix
Browse files Browse the repository at this point in the history
  • Loading branch information
swsnr committed Oct 16, 2020
1 parent c6d8931 commit 556bb30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/terminal/size.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ fn from_terminal_impl() -> Option<TerminalSize> {

#[cfg(windows)]
#[inline]
unsafe fn from_terminal_impl() -> Option<TerminalSize> {
fn from_terminal_impl() -> Option<TerminalSize> {
term_size::dimensions().map(|(w, h)| TerminalSize {
rows: h,
columns: w,
Expand Down

0 comments on commit 556bb30

Please sign in to comment.