Having the click after the message disappears is weird
This commit is contained in:
parent
0bb7a62b75
commit
fe686b0fd4
1 changed files with 1 additions and 1 deletions
|
@ -40,6 +40,7 @@ def makeSelection(scr, SELECTIONS, MSGS):
|
||||||
elif inchar == curses.KEY_DOWN and selection < selection_count - 1:
|
elif inchar == curses.KEY_DOWN and selection < selection_count - 1:
|
||||||
selection += 1
|
selection += 1
|
||||||
addSound("keyenter")
|
addSound("keyenter")
|
||||||
|
addSound("keyenter")
|
||||||
if MSGS and MSGS[selection]:
|
if MSGS and MSGS[selection]:
|
||||||
whole_line = '> ' + MSGS[selection]
|
whole_line = '> ' + MSGS[selection]
|
||||||
space = width - len(whole_line) % width
|
space = width - len(whole_line) % width
|
||||||
|
@ -48,7 +49,6 @@ def makeSelection(scr, SELECTIONS, MSGS):
|
||||||
scr.addstr(whole_line)
|
scr.addstr(whole_line)
|
||||||
scr.refresh()
|
scr.refresh()
|
||||||
sleep(2)
|
sleep(2)
|
||||||
addSound("keyenter")
|
|
||||||
return selection
|
return selection
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue