-
-
Notifications
You must be signed in to change notification settings - Fork 573
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
ConEmu sometimes loses the ability to print inverse text as soon as underlined text has been displayed #1302
Comments
This is not a ConEmu bug. ConEmu displays text using attributes returned by conhost WinAPI. @agross When you use proper task with connector/wslbridge you may see proper colors and underlined text in both cases. @miniksa Can you check that? Looks like a bug in conhost, because the RealConsole window displays proper colors in both cases, but API returns broken attributes. |
Filed internally as MSFT:14593728. We'll get to it. Thanks for the report. |
Do you mean by "proper" that I would need to run WSL zsh like this (task contents)? "%ConEmuBaseDir%\conemu-cyg-64.exe" --wsl -cur_console:pm:/mnt /usr/bin/zsh --interactive --login Unfortunately I can't because in this case the console window stays empty. On the other hand, WSL bash works: "%ConEmuBaseDir%\conemu-cyg-64.exe" --wsl -cur_console:pm:/mnt |
@Maximus5 Could you please comment on my last question?
|
The following is working in my tests
|
Aha, |
|
That's strange, just tested again. |
What command line did you test exactly? |
Just the normal zsh startup (mind the
This works, without |
Yes, of course. Your command is not "bare --wsl". |
Of course what? And what do you mean by "bare --wsl"? |
If you do specify any arguments after |
That doesn't make it clearer to me. You said earlier, that |
I said "bare --wsl". The |
So |
All -cur_ and -new_console switches are processed by ConEmu internally! Connector doesn't receive them. |
As I said before
|
I hope I get it now: By "bare" For bash I don't specify a shell, hence |
Exactly. I don't know how to explain it shorter. |
Thanks for the clarification! |
Versions
ConEmu build: 171025 x64
OS version: Windows 10 x64
Used shell version: zsh 5.1.1 (x86_64-ubuntu-linux-gnu)
Problem description
Since #1288 underlined text works. But sometimes ConEmu loses the ability to print inverse/standout text.
Steps to reproduce
Reproducible only when running WSL:
sudo apt-get install zsh
chsh -s "$(which zsh)"
C:\Windows\System32\wsl.exe
export SPROMPT='zsh: correct '%R' to '%r'? %Uy%ues/%Un%uo/%Ue%udit/%Ua%ubort '
setopt correct
cat /mnt/path/to/ConEmu/Addons/AnsiColors16.ans
sl
(deliberate typo)When you stream select any text (even the text not rendered as standout) in the screenshot the bogus reverse lines turn into standout text. As soon as you leave stream selection, the text returns to a bright background.
Results
The text was updated successfully, but these errors were encountered: