cmder integrated terminal moves cursor two characters for each space #48988
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
terminal
General terminal issues that don't fall under another label
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):
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
Extensions (16)
The text was updated successfully, but these errors were encountered: