Having the click after the message disappears is weird

This commit is contained in:
Firepup Sixfifty 2024-04-27 16:29:03 -05:00
parent 0bb7a62b75
commit fe686b0fd4
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

View file

@ -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