Skip to content

Do not directly set cursor on AcceptLineImpl - #1182

Merged
Dongbo Wang (daxian-dbw) merged 1 commit into
PowerShell:masterfrom
msftrncs:fix1181
Nov 14, 2019
Merged

Do not directly set cursor on AcceptLineImpl#1182
Dongbo Wang (daxian-dbw) merged 1 commit into
PowerShell:masterfrom
msftrncs:fix1181

Conversation

@msftrncs

@msftrncsCarl Morris (msftrncs) commented Nov 14, 2019

Copy link
Copy Markdown
Collaborator

In AcceptLineImpl(), instead of _console.SetCursorPosition(), use public API SetCursorPosition() so that existing end of buffer checks can be performed.

Fixes#1181, complement to #1146.
May fix#1155.

Instead of _console.SetCursorPosition(), use public API SetCursorPosition
so that existing end of buffer checks can be performed.
FixesPowerShell#1181

@daxian-dbwDongbo Wang (daxian-dbw) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants

@msftrncs@daxian-dbw