serhii.net

In the middle of the desert you can say anything you want

04 Sep 2026

Python rich notes

God the documentation is atrocious.

References

In no particular order bits I looked for but couldn’t find

Styles

Border styles

(E.g. for rules etc.): Panel(box=box.DOUBLE_EDGE).

Boxes types: Box — Rich 14.1.0 documentation

(Box — Rich 14.1.0 documentation says:

You can set the border style by importing one of the preset Box objects and setting the box argument in the table constructor.

That tells me nothing about what do I pass to Panel(..., border_style=), I think it’s only the colors etc. from normal style=, including e.g. ‘on blue’ . In the examples only “dim” and “not dim” are used…)

EDIT oh okay border_style='dim' also influences the colors of the title. Okay why not

Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus