Renders an auto-updating live display of any given renderable.
renderable (RenderableType, optional) – The renderable to live display. Defaults to displaying nothing.
console (Console, optional) – Optional Console instance. Defaults to an internal Console instance writing to stdout.
screen (bool, optional) – Enable alternate screen mode. Defaults to False.
auto_refresh (bool, optional) – Enable auto refresh. If disabled, you will need to call refresh() or update() with refresh flag. Defaults to True
refresh_per_second (float, optional) – Number of times per second to refresh the live display. Defaults to 4.
transient (bool, optional) – Clear the renderable on exit (has no effect when screen=True). Defaults to False.
redirect_stdout (bool, optional) – Enable redirection of stdout, so print
may be used. Defaults to True.
redirect_stderr (bool, optional) – Enable redirection of stderr. Defaults to True.
vertical_overflow (VerticalOverflowMethod, optional) – How to handle renderable when it is too tall for the console. Defaults to “ellipsis”.
get_renderable (Callable[[], RenderableType], optional) – Optional callable to get renderable. Defaults to None.
Check if live display has been started.
Process renderables to restore cursor and display progress.
renderables (List[ConsoleRenderable])
Update the display of the Live Render.
None
Get the renderable that is being displayed
Displayed renderable.
RenderableType
Start live rendering display.
refresh (bool, optional) – Also refresh. Defaults to False.
None
Stop live rendering display.
None
Update the renderable that is being displayed
renderable (RenderableType) – New renderable to use.
refresh (bool, optional) – Refresh the display. Defaults to False.
None
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4