-
-
Notifications
You must be signed in to change notification settings - Fork 584
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
Support for Windows 10 bash 24 true color #920
Comments
@Maximus5 "RTFM" cool down, man! I have looked over the colors docs and there is _no mention of that_. Sorry but Google didn't help me find the page you referenced. I will try what you suggest and close the issue if it works. |
BashForWindows is so special that it has its own page in the documentation. Easy to find. |
@Maximus5 Wait. What sarcasm? I was surprised by your reply. I get it that you spend time but "Easy to find" is relative. Don't just throw "RTFM". I didn't found that page. That's it. And I need to test whether it works. Right? May be it's some kind of other issue. It's most possible it's this but hey, let's try it first. The link to "Bash on windows" on color documentation page is referencing "arrows". Sorry but I haven't seen the relevance between arrows and colors. I like ConEmu because I don't need to be console terminal expert to have good terminal experience. I am grateful for the link. I will have a look, but that's nasty reply. So:
Sorry but I don't see my fault here. |
OK. Consider this as translation problem of non-native speaker. Sorry for misunderstanding. |
I followed the docs and it's generally working but it's buggy. If I for example open vim and then close it, the colors in the console are not 24 bit anymore. Am I missing something? |
No, you don't. As docs state, true-color support is limited yet. |
Alright. At least I'm doing it right. I'm noticing bugs to do with arrow navigation (left/right) - sometimes when I start a console, arrows are not working. As far as I can see the solution in the docs is to run bash directly but if I run it directly i will not get 24 bit color right? |
What do you do? Anyway, the solution you mentioned just tries to force proper mode, which user may turn on manually any time. This also described in docs
Default {bash} task doesn't uses wslbridge because it is third-party product. |
I have a default task for new console with the command:
And the contents of
|
Can I force Xterm mode? By which I mean: is there a way to force xterm mode and disable autodetection because currently it tries to autodetect and sets it to |
Ok, I drilled down to using this: Default task for new console with the command:
And the contents of
Arrows work! I think this should be in the docs. Now I'm trying to figure out a way to avoid having a separate file. Can I do the "call SetEscChar echo %..." magic inline in ConEmu Task settings? |
Another issue (kind of fatal) - every time I resize conemu window the 24 bit colors stop working. Any fix for this? |
@Maximus5 the man pain-point with this experimental color support is the window resizing: |
I'm aware of it. |
To start a terminal with 24-bit colour, without any external scripts as @antitoxic was trying to do, create a task with the following command:
Where the � is the ESC character that you can copy from SetEscChar.cmd @Maximus5 would you mind explaining what this magic |
As docs explains, current ConEmu build limits true-color support to the bottom of the buffer. |
Here's the announcement: https://blogs.msdn.microsoft.com/commandline/2016/09/22/24-bit-color-in-the-windows-console/
I tested it and the colors really work in bash.exe opened in cmd.exe.
However no matter what I tweak in ConEmu I can't get it to work. I'm guessing it's to do with how ConEmu wraps the real command line?
Other ref: https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/suggestions/13350690-256-color-support
The text was updated successfully, but these errors were encountered: