From 9787240a6f84a79a4997450c5410e3a37b031efe Mon Sep 17 00:00:00 2001 From: Digital Studium Date: Sun, 28 Jul 2024 11:21:56 +0300 Subject: [PATCH] Minor fixes --- kls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kls b/kls index 3166682..175fd40 100755 --- a/kls +++ b/kls @@ -178,7 +178,7 @@ def handle_vertical_navigation(key: str, menu: Menu): menus[2].visible_row_index = 0 -def handle_horizontal_navigation(key, menu): +def handle_horizontal_navigation(key: str, menu: Menu): increment = {"KEY_RIGHT": 1, "\t": 1, "KEY_LEFT": -1, "KEY_BTAB": -1}[key] next_menu = menus[(menus.index(menu) + increment) % 3] draw_row(menu.win, menu.title, 1, 2, selected=False) # remove selection from the current menu title