Fixing mouse not working on Unix in low coordinates.

This commit is contained in:
BDisp
2020-12-12 12:43:35 +00:00
parent 152d4e4d35
commit d06c87493d

View File

@@ -305,11 +305,11 @@ namespace Terminal.Gui {
(mod & ConsoleModifiers.Alt) != 0,
(mod & ConsoleModifiers.Control) != 0);
break;
case int n when n >= 9:
case 7:
throw new NotImplementedException ("Condition not yet detected!");
case int n when n >= 8:
GetMouseEvent (cki);
return;
default:
break;
}
if (inputResult.EventType == EventType.key) {
inputResult.ConsoleKeyInfo = newConsoleKeyInfo;