microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.01k stars 29.2k forks source link

Terminal rendering glitched on latest Insiders #225140

Open rzhao271 opened 2 months ago

rzhao271 commented 2 months ago

I have windowsUseConptyDll set to true, but I believe I saw this yesterday with that setting off as well.

:bug: When I start typing, the cursor moves vertically to the middle of the terminal, around where the git checkout line is.

Image

Tyriar commented 2 months ago

Looks like this is what the conptyInheritCursor flag is meant to fix:

https://github.com/microsoft/vscode/blob/559107b7a92be2cfda116e3a0667f1b1ac9bf78b/src/vs/platform/terminal/node/terminalProcess.ts#L167

Perhaps the API for that is different in conpty.dll