Skip to content

Commit ee25d0c

Browse files
committed
Fix typing syntax for multiple string literals
1 parent d6ea7b0 commit ee25d0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

archinstall/tui/curses_menu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1216,7 +1216,7 @@ def _process_input_key(self, key: int) -> Result | None:
12161216

12171217
return None
12181218

1219-
def _focus_item(self, direction: Literal['next' | 'prev' | 'first' | 'last']) -> None:
1219+
def _focus_item(self, direction: Literal['next', 'prev', 'first', 'last']) -> None:
12201220
# reset the preview scroll as the newly focused item
12211221
# may have a different preview row count and it'll blow up
12221222
self._prev_scroll_pos = 0

0 commit comments

Comments
 (0)