We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14a052b commit 6f74dd5Copy full SHA for 6f74dd5
cmd2/rich_utils.py
@@ -59,6 +59,9 @@ def _create_default_theme() -> Theme:
59
def set_theme(styles: Mapping[str, StyleType] | None = None) -> None:
60
"""Set the Rich theme used by cmd2.
61
62
+ Call set_theme() with no arguments to reset to the default theme.
63
+ This will clear any custom styles that were previously applied.
64
+
65
:param styles: optional mapping of style names to styles
66
"""
67
global APP_THEME # noqa: PLW0603
0 commit comments