mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 00:46:39 +01:00
Fixed bug if WindowTop is bigger than 0.
This commit is contained in:
@@ -356,7 +356,7 @@ namespace Terminal.Gui {
|
||||
} else if (foundPoint > 0 && c != 'm' && c != 'M') {
|
||||
value += c.ToString ();
|
||||
} else if (c == 'm' || c == 'M') {
|
||||
point.Y = int.Parse (value) - 1;
|
||||
point.Y = int.Parse (value) + Console.WindowTop - 1;
|
||||
|
||||
if (c == 'M') {
|
||||
isButtonPressed = true;
|
||||
|
||||
Reference in New Issue
Block a user