Kaynağa Gözat

Avoids exit after read the response with empty key.

BDisp 10 ay önce
ebeveyn
işleme
ce0183fea5

+ 2 - 0
Terminal.Gui/ConsoleDrivers/WindowsDriver/WindowsConsole.cs

@@ -123,6 +123,8 @@ internal class WindowsConsole
                                         seqReqStatus.AnsiRequest.RaiseResponseFromInput (ansiSequence.ToString ());
                                         // Clear the terminator for not be enqueued
                                         inputRecord = default (InputRecord);
+                                        // Clear numberEventsRead to not exit
+                                        numberEventsRead = 0;
                                         // Clear the ansiSequence to avoid insert another Esc character
                                         ansiSequence.Clear ();
                                     }