Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cursor Style using conemu-cyg-64.exe #573
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.
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)
added a commit
May 23, 2016
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.
Okay, I'll try to make an example
And in both cases cursor it the same in command and insert mode.
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.