howdoi
howdoi copied to clipboard
Improved answer layout in the terminal
Description
Somewhat similar to https://github.com/gleitz/howdoi/issues/430, could we have a better layout in the terminal when you're picking multiple answers, or looking at different positional answers.
Might get some inspiration from https://github.com/santinic/how2
We can potentially use a Python library called - rich to add text formatting to the answers (colours, boxes around answers for a cleaner look, progress bars etc.)
- Replace
REDmanual colorization withrich's version - We currently use
pygments- what if we usedrich? (is it better? different?) - Could we use
richcode formatter for code snippets?
This is fixed with the rich additions https://github.com/gleitz/howdoi/commit/88873b5c5ee000986fd71242ba069b05547e7e5e