Skip to content

Commit 4706ed0

Browse files
committed
Updated docstrings.
1 parent b7172ca commit 4706ed0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎cmd2/cmd2.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2006,8 +2006,8 @@ def get_bottom_toolbar(self) -> AnyFormattedText:
20062006
20072007
This method is called by prompt-toolkit while at the main prompt if ``enable_bottom_toolbar``
20082008
was set to ``True`` during initialization. Because prompt-toolkit executes this callback
2009-
on every UI refresh (such as on every keypress or timed interval), keeping this function
2010-
highly optimized is critical to ensuring the CLI remains responsive.
2009+
on every UI refresh (such as on every keypress or at scheduled refresh intervals), keeping
2010+
this function highly optimized is critical to ensuring the CLI remains responsive.
20112011
20122012
Override this if you want a bottom toolbar displaying contextual information useful for
20132013
your application. This could be information like the application name, current state,
@@ -2022,8 +2022,8 @@ def get_rprompt(self) -> AnyFormattedText:
20222022
20232023
This method is called by prompt-toolkit while at the main prompt if ``enable_rprompt``
20242024
was set to ``True`` during initialization. Because prompt-toolkit executes this callback
2025-
on every UI refresh (such as on every keypress or timed interval), keeping this function
2026-
highly optimized is critical to ensuring the CLI remains responsive.
2025+
on every UI refresh (such as on every keypress or at scheduled refresh intervals), keeping
2026+
this function highly optimized is critical to ensuring the CLI remains responsive.
20272027
20282028
Override this if you want a right prompt displaying contextual information useful for
20292029
your application. This could be information like the current Git branch, time, or current

0 commit comments

Comments
 (0)