Mention Python's buitin readline module in the docs

This commit is contained in:
Felipe S. S. Schneider 2021-10-31 12:41:33 -03:00
parent 8f9131c586
commit eac0767676
1 changed files with 2 additions and 0 deletions

View File

@ -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
---------