Merge pull request #770 from BDisp/position-cursor

Fixes #769. PositionCursor is now corrected.
This commit is contained in:
Charlie Kindel
2020-07-09 08:21:25 -06:00
committed by GitHub

View File

@@ -1003,7 +1003,7 @@ namespace Terminal.Gui {
focused.PositionCursor ();
else {
if (CanFocus && HasFocus) {
Move (textFormatter.HotKeyPos == -1 ? 1 : textFormatter.HotKeyPos, 0);
Move (textFormatter.HotKeyPos == -1 ? 0 : textFormatter.HotKeyPos, 0);
} else {
Move (frame.X, frame.Y);
}