From 313ee3fa9b7dbb764bb1fd1c221001962d535cb7 Mon Sep 17 00:00:00 2001 From: "Felipe S. S. Schneider" Date: Sun, 31 Oct 2021 12:53:51 -0300 Subject: [PATCH] Cross-link the console API from prompts --- docs/source/prompt.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/prompt.rst b/docs/source/prompt.rst index fa256a0f..088aa8e7 100644 --- a/docs/source/prompt.rst +++ b/docs/source/prompt.rst @@ -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` internally). Here's a simple example:: >>> from rich.prompt import Prompt >>> name = Prompt.ask("Enter your name")