Increase the screen x and y max values so we could have more text in buffers

This commit is contained in:
Manuel Cortez 2017-03-31 21:46:45 -06:00
parent 8da4180509
commit 0678b04fbf

View File

@ -26,6 +26,9 @@ class Window(object):
self.statusbar=1 self.statusbar=1
self.lastMessage="" self.lastMessage=""
self.screen = screen self.screen = screen
# Makes the screen a bit bigger.
if curses.is_term_resized(100, 300):
curses.resizeterm(100, 300)
self.screen.nodelay(1) self.screen.nodelay(1)
self.screen.keypad(1) self.screen.keypad(1)
curses.raw(1) curses.raw(1)