1
0
mirror of https://github.com/xgi/castero synced 2024-11-10 15:28:45 +01:00

fix window width not being rounded to int

This commit is contained in:
Jake Robertson 2019-11-06 14:08:31 -05:00
parent 79a6a6bb52
commit 37a3cd076b
No known key found for this signature in database
GPG Key ID: 15FF1380B7D5C715

@ -44,7 +44,7 @@ class SimplePerspective(Perspective):
parent_x = self._display.parent_x
parent_y = self._display.parent_y
fw_width = min(25, parent_x / 2)
fw_width = min(25, parent_x // 2)
self._feed_window = curses.newwin(parent_y - 2, fw_width,
2, 0)