rich
rich copied to clipboard
Rich is a Python library for rich text and beautiful formatting in the terminal.
Hello, When using `rich` in [`euporie`](https://github.com/joouha/euporie) (a terminal Jupyter notebook client), `rich` detects that it is running in a Jupyter notebook and not running in a TTY, and so returns...
**Describe the bug** When in a Jupyter notebook, using `status` overwrites all previous output. ```python import time from rich.console import Console print("Previous output") console = Console() with console.status('This overwrites previous...
**Describe the bug** I'm running a multiprocessing + multithreading app, and I was using the `RichHandler`. The process is a long-running process, and it always got stuck at some point....
**How would you improve Rich?** Currently, `rich.inspect(..., help=True)` prints the definition as a single line. For functions/classes with a large number of parameters, this is unwieldily to read (especially if...
``` import time from rich.console import Console console = Console() print("Great_Rich") with console.screen(): console.print("Banner") time.sleep(2) for i in "Text": time.sleep(0.04) print(f"\033[31;1m{i}", end='', flush=True) print("\n\n exit") ``` screen windows 10 https://user-images.githubusercontent.com/61022210/158059480-7fb9b0d6-0ae0-4af8-aefb-1313bdf142b4.png...
So I use wsltty mainly where rich.progress uses the `━━` character for the progress bar. I checked it in cmd.exe and it showed `--` for the progress bar. The fallback...
**Describe the bug** I have a simple progressbar running in a jupyter notebook. ``` from rich.progress import track for n in track(range(10), description="Processing..."): time.sleep(.1) ``` When the progressbar exists, the...
**Describe the bug** I have an application that is intended be run as part of a pipeline, e.g. `myapp | sendmail`, but is very interactive, with menus, text inputs, etc....
Rich is not using the full width of the Jupyter notebook. For example, here I expect the lines for `index` and `sort` to be both fit on one line. ...