diff --git a/archinstall/tui/curses_menu.py b/archinstall/tui/curses_menu.py index 6247d613..4183e6b0 100644 --- a/archinstall/tui/curses_menu.py +++ b/archinstall/tui/curses_menu.py @@ -1216,7 +1216,7 @@ class SelectMenu(AbstractCurses): return None - def _focus_item(self, direction: Literal['next' | 'prev' | 'first' | 'last']) -> None: + def _focus_item(self, direction: Literal['next', 'prev', 'first', 'last']) -> None: # reset the preview scroll as the newly focused item # may have a different preview row count and it'll blow up self._prev_scroll_pos = 0