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
Mention Python's buitin readline module in the docs
  • Loading branch information
schneiderfelipe committed Oct 31, 2021
commit eac0767676918d1e1debba1105c9c4a977fb3f1e
2 changes: 2 additions & 0 deletions docs/source/console.rst
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ The console class has an :meth:`~rich.console.Console.input` method which works
console = Console()
console.input("What is [i]your[/i] [bold red]name[/]? :smiley: ")

If Python's builtin :mod:`readline` module is previously loaded, elaborate line editing and history features will be available.

Exporting
---------

Expand Down