-
-
Notifications
You must be signed in to change notification settings - Fork 582
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
Cursor Style using conemu-cyg-64.exe #573
Comments
With the new Linux Subsystem I would also like to see ConEmu support these, including the extended xterm options. |
@austinwagner You've chosen wrong place for feature request! You have to force Microsoft to do WSL<->console interactions in user mode! Until they are processed in kernel internally - they utterly limit ConEmu abilities!! |
@Maximus5 I thought the escape codes were passed through to the terminal. Doesn't the new version of the default command prompt host interpret ANSI SGR escape codes itself? |
@austinwagner Regardless the fact Win10 console interprets ANSI itself, WSL subsystem is working in the kernel, it does not write anything to console at all. Complain to MS about it! |
"Complained" in the feedback hub application. I doubt they'll ever read a piece of feedback with no votes on it, but one can hope... |
I doubt a lot in "hub" effect. [https://github.com/Microsoft/BashOnWindows/issues?utf8=✓&q=is:issue is:open ConEmu](https://github.com/Microsoft/BashOnWindows/issues?utf8=✓&q=is:issue is:open ConEmu) |
@Maximus5 My Google skills are shamed. I tried and failed to find a better place to submit my feedback. |
~~~ CSI Ps SP q - Set cursor style (DECSCUSR, VT520). Ps = 0 -> ConEmu's default. Ps = 1 -> blinking block. Ps = 2 -> steady block. Ps = 3 -> blinking underline. Ps = 4 -> steady underline. Ps = 5 -> blinking bar (xterm). Ps = 6 -> steady bar (xterm). ~~~
Just updated to build 160522 and tested out the cursor escape sequences, it's working exactly as expected, thanks! |
I'm afraid I am facing this issue again. Windos 10 + WSL + 180131 alpha conemu build |
@Kyshtynbai HOW do you ru WSL? |
@Maximus5 I re-wrote the command for the task according to the related manual on ConEmu site and the problem has gone -- now visual blocks, incremantal search highliting and so on works fine. The only thing that still does not work is the same identical cursor both in command and insert mode of vim, but I think I can get on with it. |
ConEmu creates proper task for WSL. You don't have to change it. |
Okay, I'll try to make an example
And in both cases cursor it the same in command and insert mode. |
Nope.
This is not the actual default task. Read this: If course you will have issues with WSL running it using inappropriate way. As for the problem running WSL from proper task via connector... Have you tried it without ConEmu? |
I've tried it just now and it seens everything works OK (like with the running WSL from proper task), but the cursor in vim still does not change depeding on command/insert mode. |
Looks like Microsoft fixed this March 20th. Limited to Insider builds for now. Source: microsoft/terminal#68 So with an Insider build of Windows, this will work: let &t_SI.="\e[5 q" I'm not sure if they fixed the root issue of not passing ReadConsole state or if they're just fixed the escape sequences. Either way, this is a workaround that can be added to the ConEmu docs: https://conemu.github.io/en/MicrosoftBugs.html#Insert-Overwrite-Indicator |
I recently set up the cygwin terminal connector (connector version 0.74, ConEmu version 160310) to get better color support, and I noticed that my cursor in vim (both locally and over SSH) wasn't changing to block mode. It looks like the connector doesn't support the cursor style escape sequences that cygwin bash does.
These two commands should switch the cursor to blinking block and blinking bar, respectively:
Both of the above work using bash, but when using the connector it just stays as the cursor I specified in the settings. Here are the task commands I am using for each:
Here is the spec for the escape sequences, taken from http://invisible-island.net/xterm/ctlseqs/ctlseqs.html:
For what it's worth, it looks like bash only supports 1 and 5 from that list. If I echo 0-2 it does blinking block, and 3-6 do a blinking bar. It would be great if you could add support for these two in the cygwin connector.
The text was updated successfully, but these errors were encountered: