-
Notifications
You must be signed in to change notification settings - Fork 822
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
Dark blue text on black background unreadable #930
Comments
Did you restart your console after applying the background colour @oliversalzburg? A full restart of the console is required. annoyingly |
@ConnorVG Very interesting. That does change the outcome indeed. However, not fully. I also realized that when you adjust the RGB values for black, that takes effect immediately. I also now realized something else. It is possible to adjust all colors, it's just cumbersome af. You can click any of the colors on the palette, which selects it as the default background color, then you can adjust that palette index's RGB values and switch the background back to the palette index you had before. Then you repeat that for every single color you want to adjust and hope that you don't kill yourself in the process. |
@oliversalzburg yeah - it's a bit brutal. It took me way too long to achieve this: |
@LFBernardo Those additions to my |
@ConnorVG Looking good. I would assume this information is stored somewhere, but I couldn't find anything in the registry so far. :\ |
I have to say that the default dark red looks terrible on 3 of my 4 monitors as well, the only one that it looks ok on has really broken color settings anyway. The dark blue is also a problem in vi .. so maybe remapping the color is the better option :| oliver: that should take effect after you exit your bash and open a new one .. of course you can just past the command to your bash for it to take effect in the current one |
@oliversalzburg that is very weird, but then again there seems to be subtle difference between the three machines I am running now as well that reach beyond appearance. Copy and paste for example, works on one but not the other two, have to select the Ubuntu icon at the top to do that..... But that is why it isn't a full release yet so that we can help them iron out the bugs. The blue definitely has to go, not just in WSL but also in other versions of linux, it's never properly visible and has been a pain in the butt for many years. I suggest googling LS_COLORS and seeing the other configuration options? |
@LFBernardo The funny thing is that I have already set |
@ConnorVG Your console is looking awesome. How do I customize console colors like that? |
@oliversalzburg - How are you starting The default Bash.exe doesn't do a login shell yet. (It just reads I definitely agree that the default WSL install should come with default coloring in the Console that is readable, without the user making changes, whether with |
@rodrymbo I think I reverted most of my initial attempts, but AFAIR, I used As it always was, using a different console emulator is the way to go as it seems: |
@oliversalzburg - may we ask which terminal emulator you selected? Looks like it might be ConEmu. I mostly just use PuTTY, since I'm used to it. It'll be good to get the Console working as a terminal emulator for Bash.exe... |
@rodrymbo Yes, that is ConEmu. Sorry for not mentioning it. |
First off, this is kind of a dupe of #366, but I'm going to mark that one as a dupe as this one has WAY more discussion. MSFT:8661767 is our internal number for updating the color palette. I'm not sure if we'll have time to do it in this particular round of updates, but we've definitely got our eye on it. Bother @bitcrazed on twitter (his work handle is @richturn-ms) if you want to see it done sooner :P. Moreso, which I've definitely mentioned before but bears repeating because it came up on this thread - I'm very aware of how hard it is to work with the colors dialog currently. It's personally high on my list of priorities, but not necessarily so high on our overall priorities. |
One workaround (or the only one that really worked for me) is to install the solarized-dark theme from https://github.com/neilpa/cmd-colors-solarized (close/open the console window to activate) |
@zadjii-msft I can't understand why this has such low priority. After enabling the WSL you just want to work with the bash. If I first have to fiddle around to have a color scheme one can actually work with - that's really bad in terms of usability. |
Since now 24-bit color only works with default shell (without open API), we don't have other choices (like ComEmu), hence I think MS is responsible for the user experience of the default shell, especially the appearance and editing experience (I wish something like Cmder, but maybe that's too much, at least it should be usable). |
@Trainmaster -- I agree for what it's worth that this is important. But I can see why it wouldn't be top priority: I personally have no desire to reconfigure the defaults for the Windows console. In fact, I often go out of my way to configure other shells on other platforms to more-closely match what the default Windows shell does, because for my eyes it is more readable. (I didn't start off using this color scheme; I've settled on it after some experimentation.) Perhaps some people on the WSL team happen to have eyes whose color responsiveness is closer to mine than to yours? |
I have a problem here |
This is still a problem |
@akorb Don't you know it. The default palette is just terrible. We've been having a lot of discussions related to this recently. We should have an update for you later this week on this very topic. Stay tuned :) |
I applied this registry entries microsoft/vscode#7556 (comment) from:
And fixed my colors problems. They said we need to set the:
|
@evandrocoan I disagree that they need to be the same as xterm's defaults - every terminal in the world has it's own defaults - but it does need improvement. I may have jumped the gun when I said "this week" - but it will be SoonTM |
I can finally comment on this! https://blogs.msdn.microsoft.com/commandline/2017/08/02/updating-the-windows-console-colors/ Should be fixed in 16257 |
@zadjii-msft It sounds like they aren't updating people who already have Windows 10... so we have to wait to get that new tool they hinted at? Trying to decide to wait or go ahead and change my registry (never to remember to change them back if the tool comes out eventually). |
@mhchu It's very likely that if you've ever changed your colors before, you will probably not see the change, just from the nature of how console properties are loaded. You're always free to set the table to whatever you'd like, this is just a new default experience, so hopefully people like myself won't be so frustrated with the defaults. We should have more news about the tool in the next week, stay tuned. |
I'm using |
@markeissler : thanks Following code appended to my .bashrc as per @markeissler worked for me:
|
I'm using Powershell + ZSH. I have configured powershell so the normal text is bright pink on black background and I changed my LS_COLORS in my .zshrc file to Cyan which is great! My current config in .zshrc / .bashrc #Make cd use the ls colours However, I still have a problem with dark blue text on black background. I don't think this text is part of LS_COLORS. Anyone know how or where to update those 2 dark blue colours? I have no idea where they come from? Is it something in the windows registry? |
This issue is now closed as it has been fixed in Win10 Fall Creators Update Please file Console related issues in the Windows Console Issues Repo: https://github.com/microsoft/console/issues Thanks. |
@rm-bergmann If Fall Creators Update (FCU), we updated the Console's default color palette: https://blogs.msdn.microsoft.com/commandline/2017/08/02/updating-the-windows-console-colors/ Alas, for a variety of reasons, if you've upgraded your machine to FCU from a previous release, you won't see the new default Console color palette unless you use the ColorTool to modify the default Console colors: https://blogs.msdn.microsoft.com/commandline/2017/08/11/introducing-the-windows-console-colortool/ If you've clean-installed FCU, you should see the updated palette being used if you launch a distro from Cmd, from the start menu distro tile, or from a shortcut you pin to your taskbar. However, if you launch a distro from PowerShell, the Console you're using will have a different palette defined by PowerShell, which still includes the default dark blue == RGB(0, 0, 128) which is very dark. If you want, you could modify your PowerShell settings to change the dark blue at index #1 (zero-based) to RGB(0, 55, 218) as per the Console's new default: Also, try launching your distro from a cmd Window, or directly from your distro's start menu tile. |
Thanks @bitcrazed! I have the FCU update and I have the new color pallette, which is what I used to make the background black and the screen text pink. I actually didn't realize that I could change those colors in the pallete inside the 'selected color values' section without selecting the color as the default! I love the flexibility, and my issue is sorted now. |
This works. Don't forget to restart the terminal. Thanks @markeissler |
Or you can do |
True true - you can invoke it for the current sesssion. For most folks I'd say a restart is simpler/easier 😄 |
in your folder (~) there is a .vimrc file, you will not always have this by default. When you edit it and save it it will become permanent. You must do this as your normal user and not sudo. If you do this in sudo you are exiting your user space. Copy and paste the following line by line into your editor (not the lines with : as they are commands for vim) vim ~/.vimrc and test it |
Thanks. Before I did not have the vim ~/.vimrc as I thought that was a command at the bash level Now the file in the /home/khervey directory looks like this. I think it is the same as the (~). This seems to match what you sent, but after doing so and navigating over another folder the output still looks like: I don't know what I am doing wrong. For testing I just completely exited Powershell and then opened again with wsl.exe and proceeded to vim to check. btw, same file after doing a vim command of set background=dark |
That did it..works in command and powershell Somehow I was doing a file in another directory I reached using CD ~/ I thought that was the plan...go there then create/edit the file. Today I used the command vim ~/.vimrc then just edited the file from the directory where I happened to be. I would rather delete all my messages (I don't want the posterity), but maybe others can learn from your help and my flailing. |
Happy to hear that worked. I would leave the messages, everything is new to someone at some time. The learning aspect is valuable. |
I don't understand why it is apparently such a massive challenge to come up with a way to produce a usable appearance for a terminal. I reported this 4 years ago and this is what has been achieved in the meanwhile: I'm baffled as to how this is considered shippable, given this is a directory listing of my home directory with default settings. For anyone coming here, hoping to get some relief, you're going to want to remove all background colors from eval "$(dircolors -p | \
sed 's/ 4[0-9];/ 01;/; s/;4[0-9];/;01;/g; s/;4[0-9] /;01 /' | \
dircolors /dev/stdin)" |
That's a totally different bug my dude - see microsoft/terminal#3848 for more details. |
No! That's not a solution to the original XY Question! that being said, I'm going with it. Thank you. ConEmu is beautiful and I think I'll switch. |
@pale2hall I mean, the Windows Terminal does have support for lots of user-defined color schemes that don't have the same problem as OP. In fact, since 2017 the console hasn't had that problem either. Is there a particular reason you're choosing ConEmu over the Terminal? |
In PuTTY, change ANSI BLUE To get to this setting, click upper left window corner icon of active PuTTY session -> Change Settings -> Colors -> ANSI Blue 0 (the above is ANSI Cyan color, much easier to read) Click on Apply Don't forget to SAVE these settings in the profile, or they will be lost next time you log in. |
It seems some output of the bash is usually in dark blue on black background. This is impossible to read.
Changing the background color of the window to a different color is pointless, because the blue output actually defines a black background.
There would either be a default color scheme that makes more sense or the option to change it.
See above
14393.51
The text was updated successfully, but these errors were encountered: