2021.4 #19

Merged
edraft merged 237 commits from 2021.4 into master 2021-04-01 10:13:33 +02: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