mirror of
https://github.com/tildeclub/ttbp.git
synced 2026-06-19 03:09:25 +00:00
fixes #3
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user