Comments (4)
That was it. I had pygments
2.8.1, and python -m pip install pygments --upgrade
updated it to 2.11.2.
Now, all themes seem to be working fine.
Was this my fault, or "should" rich-cli pin a higher version of pygments
?
from rich-cli.
So it looks like WSL only supports 256 colors. Some themes use full RGB colors, and they may not look quite as intended, but generally "good enough".
The puzzling one is the dracula theme on the left. That's clearly the "default" theme. Do you perhaps have an older version of pygments? If you update pygments, does anything change?
from rich-cli.
Was this my fault, or "should" rich-cli pin a higher version of pygments?
Maybe it should. But that increases the odds of a version conflict.
If you install it via pipx you get a unique environment and you'll get the latest pygments.
I think I might wait until there are a few more installation methods before I decide. At least now if anyone is missing Dracula, I'll know what to tell them.
from rich-cli.
Maybe it should. But that increases the odds of a version conflict.
Understood. As far as I'm concerned, this issue can be closed. Thanks.
from rich-cli.
Related Issues (20)
- List of every supported filename extensions HOT 2
- Feature request: support setting `--hyperlinks` via the `RICH_HYPERLINKS` environment variable HOT 3
- --width / --max-width in SVG export don't affect the width of the picture HOT 1
- head / tail operations are slow on larger files
- Provide help for pager
- No lexer fo csv HOT 4
- Multiple emoji encoding issues on Windows HOT 3
- Is it possible to format outputs of commands executed? HOT 4
- feature request: pv equivalent progress bar (using --size) feature HOT 4
- Rich capturing mouse movements from stdin
- Rich as a drop-in replacement for "more"/"less" HOT 1
- Reused option name: -j is used for both JSON and emoji options HOT 2
- Unable to install latest textual and rich-cli together
- Align title to the left in markdown HOT 2
- Feature request: Allow tailing a CSV HOT 2
- `rich --print` always adds an extra newline
- How to set background color inside strings should be documented better HOT 1
- Exposing Text.from_ansi in rich-cli HOT 1
- Feature request: horizontal padding HOT 1
- please detect encoding before opening a file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rich-cli.