Skip to content

Commit 6f74dd5

Browse files
committed
Updated comments.
1 parent 14a052b commit 6f74dd5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd2/rich_utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ def _create_default_theme() -> Theme:
5959
def set_theme(styles: Mapping[str, StyleType] | None = None) -> None:
6060
"""Set the Rich theme used by cmd2.
6161
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+
6265
:param styles: optional mapping of style names to styles
6366
"""
6467
global APP_THEME # noqa: PLW0603

0 commit comments

Comments
 (0)