mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
Merge pull request #74 from nabijaczleweli/fix/71-inverted-screen-size-pancurses
Fix inverted screen size in pancurses backend
This commit is contained in:
commit
9dd82117f4
@ -25,7 +25,7 @@ impl backend::Backend for Concrete {
|
||||
}
|
||||
|
||||
fn screen_size(&self) -> (usize, usize) {
|
||||
let (x, y) = self.window.get_max_yx();
|
||||
let (y, x) = self.window.get_max_yx();
|
||||
(x as usize, y as usize)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user