adding an index shift to the paginator allows correct selection of menu
items.

also, while i'm at it, removed a bug that was displaying rainbowmenu
incorrectly, and also added pagination to neighbor view.
This commit is contained in:
endorphant
2016-11-08 18:38:15 -05:00
parent 90b8828ba5
commit 07a995afae
3 changed files with 48 additions and 24 deletions

View File

@@ -158,7 +158,7 @@ def print_menu(menu, rainbow=False):
i = 0
for x in menu:
line = []
if rainbow:
if rainbow is not False:
line.append(attach_rainbow())
line.append("\t[ ")
if i < 10: