diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2018-05-18 11:16:31 +0200 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2018-05-18 11:16:31 +0200 |
commit | 6eef87e59cb256ca8a4e756f45fed7284b852a01 (patch) | |
tree | 74723ddad8e4c1980056ea32e3d4592ea945553c | |
parent | Release 0.7.7 (diff) | |
download | elogv-6eef87e59cb256ca8a4e756f45fed7284b852a01.tar.gz elogv-6eef87e59cb256ca8a4e756f45fed7284b852a01.tar.bz2 elogv-6eef87e59cb256ca8a4e756f45fed7284b852a01.zip |
Fix window computation not being int, closes #8
-rwxr-xr-x | elogv | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -619,8 +619,8 @@ class ElogViewer: def show_help(self): # Setup help window - helpwin_height = self.height / 3 * 2 - helpwin_corner = (self.height / 6, self.width// 2 - 40) + helpwin_height = self.height // 3 * 2 + helpwin_corner = (self.height // 6, self.width // 2 - 40) helpwin = curses.newwin(helpwin_height, 80, helpwin_corner[0], helpwin_corner[1]) helplines = helptext.splitlines() |