Skip to content
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

Incorrect colors displayed in WSL #1580

Closed
ntpeters opened this issue May 25, 2018 · 2 comments
Closed

Incorrect colors displayed in WSL #1580

ntpeters opened this issue May 25, 2018 · 2 comments

Comments

@ntpeters
Copy link

Versions

ConEmu build: 180503 & 180506 x64
OS version: Windows 10 (17677) x64
Used shell versions:

  • zsh 5.1.1 (x86_64-ubuntu-linux-gnu)
  • GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)

Problem description

When running WSL in ConEmu, the colors seem to be mapped incorrectly. I'm running the built-in {Bash::bash} task, and double checked by resetting tasks on the latest build of ConEmu. The settings for 24-bit color and ANSI escape sequences are enabled, and the terminal mode is set to Xterm.

Steps to reproduce

  1. Open a new ConEmu tab with the {Bash::bash} task
  2. zsh -l -i (optional: repros in vanilla bash, but zsh is my primary shell)
  3. Display colors via: 256colors2.pl

Actual results

When running the repro steps noted above:
image

Interestingly, if (after the steps above) start a tmux session, colors seem to diplay properly:
image

Expected results

When running steps 2 & 3 above directly in wsl.exe, colors are displayed as expected:
image

@Maximus5
Copy link
Owner

https://conemu.github.io/en/Xterm256Colors.html

Merged: gh-227

@imgrant
Copy link

imgrant commented Nov 9, 2018

It's not clear how the linked page about 256 colours helps here -- I thought the implication from the docs is that 24-bit colour works by default?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants