mirror of
https://github.com/Textualize/rich.git
synced 2025-08-22 11:14:21 +00:00
Document custom spinners in console.rst
This commit is contained in:
parent
c708a8e477
commit
e30e41f802
1 changed files with 4 additions and 0 deletions
|
@ -136,6 +136,10 @@ Run the following command to see the available choices for ``spinner``::
|
|||
|
||||
python -m rich.spinner
|
||||
|
||||
You can use a custom spinner by providing a dictionary with the following properties
|
||||
|
||||
* ``"interval"`` Intended time per frame of spinner
|
||||
* ``"frames"`` Frames of the spinner. If this is a single ``str``, each character is a single frame. If a ``list[str]`` is given, each list element is a single frame.
|
||||
|
||||
Justify / Alignment
|
||||
-------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue