summaryrefslogtreecommitdiff
path: root/docs/features/prompt.rst
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2020-01-28 15:12:49 -0500
committerGitHub <noreply@github.com>2020-01-28 15:12:49 -0500
commit5a88fcf4a54c834edf70bf75020763a23d49f146 (patch)
treefd271ddc070c2f7df9563d3a81d6d9bd8a188688 /docs/features/prompt.rst
parent95f8d883496044bcb95ce803752a8851de6ad0e5 (diff)
parent691d7759dab0c8a0e11b5c64bfb84c25fcfc7515 (diff)
downloadcmd2-git-5a88fcf4a54c834edf70bf75020763a23d49f146.tar.gz
Merge pull request #864 from python-cmd2/reduce_settable_attributes
Reduce settable attributes and renamed locals_in_py
Diffstat (limited to 'docs/features/prompt.rst')
-rw-r--r--docs/features/prompt.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/features/prompt.rst b/docs/features/prompt.rst
index 40c50d2b..244ffb31 100644
--- a/docs/features/prompt.rst
+++ b/docs/features/prompt.rst
@@ -3,6 +3,13 @@ Prompt
``cmd2`` can issue a prompt before soliciting user input.
+Customizing the Prompt
+----------------------
+
+This prompt can be configured by setting the `cmd2.Cmd.prompt` instance
+attribute. This contains the string which should be printed as a prompt
+for user input.
+
Asynchronous Feedback
---------------------