2021.4.1 #11

Merged
edraft merged 172 commits from 2021.04.01 into 2021.04 2021-03-21 20:04:24 +01:00
Showing only changes of commit 6a1e7d4063 - Show all commits

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