diff options
author | Ben Connors <benconnors@outlook.com> | 2019-10-31 14:33:47 -0400 |
---|---|---|
committer | Ben Connors <benconnors@outlook.com> | 2019-10-31 14:33:47 -0400 |
commit | 1f037f48e5badab2b758c4b9bd0541c5ccda7b3f (patch) | |
tree | ea5e88d86cf0ab8d316892de5253b4caee6541b6 /interface/dialog.py | |
parent | 51e723e688a4bdead12bb56d5e6dc59c5d5aef88 (diff) |
Fix up the rendering mode
- Fix bug in chaser code leading to incorrect advance
- Only known bug is cursor is in the wrong spot during render
Diffstat (limited to 'interface/dialog.py')
-rw-r--r-- | interface/dialog.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/interface/dialog.py b/interface/dialog.py index 18ecb34..68de590 100644 --- a/interface/dialog.py +++ b/interface/dialog.py @@ -33,6 +33,7 @@ def askyesnocancel(stdscr, msg, title="Confirm", resize=None): raise ValueError("Not enough room") win = curses.newwin(thisheight, thiswidth, posy, posx) + win.leaveok(True) win.border() win.addstr(0, (thiswidth // 2) - (len(title) // 2), title) win.keypad(True) |