From e30e41f80244bc09ec32e49eaef3e36e529073e3 Mon Sep 17 00:00:00 2001 From: Maddy Guthridge Date: Sun, 13 Jul 2025 02:10:23 +1000 Subject: [PATCH] Document custom spinners in console.rst --- docs/source/console.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/source/console.rst b/docs/source/console.rst index 4d79886c..5ee69877 100644 --- a/docs/source/console.rst +++ b/docs/source/console.rst @@ -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 -------------------