Skip to content

Resize logic does not work well with conpty v1.22+ #5319

Open
@Tyriar

Description

@Tyriar

Repro is to run ls then resize narrow and wide again. Conpty expects new lines to be added to the bottom and lines to get pushed into the scrollback:

Image

The top window shows conpty's buffer state

This was always a problem in that is deleted content from the buffer as the whole screen was reprinted. With passthrough, this problem is even work as the cursor is put in a random spot after pwsh calls the GetConsoleCursorInfo API that is handled by conpty, not xterm.js

VS Code issue: microsoft/vscode#241978

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions