Skip to content

Comments

Do not directly set cursor on AcceptLineImpl#1182

Merged
daxian-dbw merged 1 commit intoPowerShell:masterfrom
msftrncs:fix1181
Nov 14, 2019
Merged

Do not directly set cursor on AcceptLineImpl#1182
daxian-dbw merged 1 commit intoPowerShell:masterfrom
msftrncs:fix1181

Conversation

@msftrncs
Copy link
Collaborator

@msftrncs msftrncs commented Nov 14, 2019

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.

Fixes PowerShell#1181
Copy link
Member

@daxian-dbw daxian-dbw left a comment

Choose a reason for hiding this comment

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

LGTM!

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

Labels

None yet

Projects

None yet

2 participants