Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention the usage of Python's builtin readline module in the documentation #1634

Merged
merged 6 commits into from
Nov 7, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Cross-link the console API from prompts
  • Loading branch information
schneiderfelipe committed Oct 31, 2021
commit 313ee3fa9b7dbb764bb1fd1c221001962d535cb7
2 changes: 1 addition & 1 deletion docs/source/prompt.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Prompt
======

Rich has a number of :class:`~rich.prompt.Prompt` classes which ask a user for input and loop until a valid response is received. Here's a simple example::
Rich has a number of :class:`~rich.prompt.Prompt` classes which ask a user for input and loop until a valid response is received (they all use the :ref:`Console API<Input>` internally). Here's a simple example::

>>> from rich.prompt import Prompt
>>> name = Prompt.ask("Enter your name")
Expand Down