quick patch to fix #40

master
endorphant 2019-07-10 00:36:35 -04:00
parent 3e805d4df3
commit 1f67eeea89
1 changed files with 3 additions and 1 deletions

View File

@ -105,7 +105,9 @@ def menu_handler(options, prompt, pagify=10, page=0, rainbow=False, top=""):
if optCount % pagify == 0:
total = total - 1
if total < 1:
if 0:
# temporary fix for menu bug when fewer than 10 entries
#if total < 1:
util.print_menu(options, SETTINGS.get("rainbows", False))
return util.list_select(options, prompt)