-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yellow box's white text unreadable in terminal #6494
Comments
Actual color value of yellow depends on your terminal preferences (e.g. a theme you're using). This is how it looks for me, my default color is white on dark background: |
Hmm I have VSCode's |
There's no jest config for that. Not sure why it's not playing nice with your theme 🤷♀️ |
This seems to be an issue specific to xterm.js. It is supposedly fixed, but I still see this issue within zeit/hyper, which utilizes You can see below that the reverse color works correctly in macOS Terminal, but is incorrect in Hyper. Both are using the same color scheme via It makes sense that @TeemuKoivisto has seen this in VSCode, as it utilizes macOS Terminal (correct)Hyper (incorrect) |
It looks like this should be tracked in the xterm.js repo. If someone familiar with jest could look into what data is actually being sent to print the black on yellow block that would be helpful. You can also run the xterm.js demo and enable debug mode to see in the console what's being sent over. |
I agree it does not belong in this repo. Happy to reopen if we're doing something weird.
|
Seems to work in VS Code. Using this repro: const chalk = require('chalk');
console.log(chalk.reset.inverse.yellow.bold('test')); VS Code (xterm.js 3.7.0+): Hyper (xterm.js 3.4.1?): I guess vercel/hyper#3214 will fix this for Hyper? |
@Tyriar ah, ok. I had not noticed VS Code was now repaired or that Hyper had a xterm.js upgrade on the way. I'll keep an eye on this and open a new issue in xterm.js repository if the issue persists after Hyper's upgrade. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi,
I just ran Jest on my local repo and noted that the yellow box with text "RUNS" inside is totally illegible in my terminal.
My current setup is MacBook Pro (Retina, 15-inch, Mid 2015) and the integrated terminal Visual Studio Code 1.24.0.
Perhaps a different shade of yellow would create more contrast?
The text was updated successfully, but these errors were encountered: