We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 549436e commit b6fff43Copy full SHA for b6fff43
Terminal.Gui/Drivers/WindowsDriver/WindowsInput.cs
@@ -61,6 +61,11 @@ public WindowsInput ()
61
62
protected override bool Peek ()
63
{
64
+ if (ConsoleDriver.RunningUnitTests)
65
+ {
66
+ return false;
67
+ }
68
+
69
const int bufferSize = 1; // We only need to check if there's at least one event
70
nint pRecord = Marshal.AllocHGlobal (Marshal.SizeOf<InputRecord> () * bufferSize);
71
0 commit comments