Fixes the return value of the position cursor in the TextField.

This commit is contained in:
BDisp
2020-05-15 12:50:44 +01:00
parent e6c5b2599a
commit e26fbd7d0e

View File

@@ -639,7 +639,7 @@ namespace Terminal.Gui {
point = text.Count;
if (point < first)
point = 0;
return x;
return point;
}
void PrepareSelection (int x, int direction = 0)