summaryrefslogtreecommitdiff
path: root/interface/dialog.py
diff options
context:
space:
mode:
authorBen Connors <benconnors@outlook.com>2019-10-31 14:33:47 -0400
committerBen Connors <benconnors@outlook.com>2019-10-31 14:33:47 -0400
commit1f037f48e5badab2b758c4b9bd0541c5ccda7b3f (patch)
treeea5e88d86cf0ab8d316892de5253b4caee6541b6 /interface/dialog.py
parent51e723e688a4bdead12bb56d5e6dc59c5d5aef88 (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.py1
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)