termynal.py
termynal.py copied to clipboard
Formatting issue with `rich` panels
Hi,
Thank you for this plugin, it has been good to see it's rapid evolution over the past couple of weeks 😄
Following the 0.7.0 update there appears to be a formatting issue when using terminal output contained within a rich
panel:
Expected:
$ my-cli
Usage: my-cli [OPTIONS] COMMAND [ARGS]...
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --about -a Show the application about dialog and exit. │
│ --version -v Show the application version and exit. │
│ --install-completion Install completion for the current shell. │
│ --show-completion Show completion for the current shell, to │
│ copy it or customize the installation. │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
Actual:
$ my-cli
Usage: my-cli [OPTIONS] COMMAND [ARGS]...
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --about -a Show the application about dialog and exit. │
│ --version -v Show the application version and exit. │
│ --install-completion Install completion for the current shell. │
│ --show-completion Show completion for the current shell, to │
│ copy it or customize the installation. │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
The line spacing is probably a css tweak I imagine, the collapsed white-space on the right I'm not too sure about.
Please let me know if you require an further info.