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

cmder integrated terminal moves cursor two characters for each space #48988

Closed
Nonpareille opened this issue May 1, 2018 · 1 comment
Closed
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) terminal General terminal issues that don't fall under another label

Comments

@Nonpareille
Copy link

Issue Type: Bug

This seems to be an issue with the interaction between cmder and vscode, this may not be an issue with vscode, but I am trying to get some more context.

When using cmder as an integrated terminal (after following instructions on https://code.visualstudio.com/docs/editor/integrated-terminal#_common-questions) there is a strange graphical issue where some characters (space and colon for example) will cause the visual cursor to jump two positions in the buffer and some movement commands (i.e. ctrl+left) will jump to the wrong visual position. The editing position will still be correct, but this means that typing and editing commands in the buffer becomes very cumbersome since I cannot rely on the cursor position being accurate.

Screengrab showing the issue (slowed down at points to show the glitch):
cmder_glitch

What I'm wondering is if there is some sort of wide character issue that may be the cause here, this glitch does not occur when cmder is used as a normal shell outside of vscode so my guess is there is some transformation when input is passed to the integrated shell that causes cmder to assume a two byte character was inserted.

VS Code version: Code 1.22.2 (3aeede7, 2018-04-12T16:38:45.278Z)
OS version: Windows_NT x64 10.0.16299

System Info
Item Value
CPUs Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (8 x 3392)
Memory (System) 15.95GB (8.09GB free)
Process Argv C:\Program Files\Microsoft VS Code\Code.exe
Screen Reader no
VM 0%
Extensions (16)
Extension Author (truncated) Version
language-x86-64-assembly 13x 2.2.11
better-comments aar 1.2.2
vscode-color ans 0.4.5
gitlens eam 8.2.4
vscode-html-css ecm 0.2.0
Go luk 0.6.78
vscode-todo-parser min 1.9.1
python ms- 2018.3.1
cpptools ms- 0.16.1
debugger-for-chrome msj 4.3.0
material-icon-theme PKi 3.3.0
stylelint shi 0.36.0
vscode-hexdump sle 1.6.0
vim vsc 0.11.5
vscode-wakatime Wak 1.2.1
html-css-class-completion Zig 1.17.1
@vscodebot vscodebot bot added the terminal General terminal issues that don't fall under another label label May 1, 2018
@Tyriar
Copy link
Member

Tyriar commented May 1, 2018

This looks like an issue with the emulation layer that sits between conhost and vscode, we're collecting all these issues in #45693

@Tyriar Tyriar closed this as completed May 1, 2018
@Tyriar Tyriar added the *duplicate Issue identified as a duplicate of another issue(s) label May 1, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) terminal General terminal issues that don't fall under another label
Projects
None yet
Development

No branches or pull requests

2 participants