rich-cli
rich-cli copied to clipboard
--width / --max-width in SVG export don't affect the width of the picture
I'm using rich-cli in my latest semi-stealth project at https://github.com/hynek/hatch-fancy-pypi-readme and I've noticed that I can set the width of the output, but the SVG export will always be the width of the terminal. That means the right side of the SVG is blank.
In other words: I have to resize the terminal to get the output I want (see README). I'm a I missing something, or is this on purpose, or is this a bug?
The SVG export replicates what you see in the terminal. So it is kind of by design. But on reflection, I think it would make more sense for it to override the size of the terminal rather than the size of the content.
Fancy readme looks interesting!