Formatting

This commit is contained in:
Sven Heidemann 2021-03-12 18:07:10 +01:00
parent 15b1a82cce
commit 6a1e7d4063

View File

@ -254,9 +254,9 @@ class Console:
cursor_foreground_color: Union[str, ForegroundColorEnum] = ForegroundColorEnum.default, cursor_foreground_color: Union[str, ForegroundColorEnum] = ForegroundColorEnum.default,
cursor_background_color: Union[str, BackgroundColorEnum] = BackgroundColorEnum.default cursor_background_color: Union[str, BackgroundColorEnum] = BackgroundColorEnum.default
) -> str: ) -> str:
cls._selected_menu_item_char = char cls._selected_menu_item_char = char
cls._select_menu_items = options cls.options = options
cls._select_menu_items = cls.options
if option_foreground_color is not None: if option_foreground_color is not None:
cls._selected_menu_option_foreground_color = option_foreground_color cls._selected_menu_option_foreground_color = option_foreground_color