Browse Source

Fix a bug which was sending the terminator to the mainloop.

BDisp 10 tháng trước cách đây
mục cha
commit
64ad1a9901
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      Terminal.Gui/ConsoleDrivers/WindowsDriver.cs

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

@@ -974,6 +974,8 @@ internal class WindowsConsole
                                     {
                                         seqReqStatus.AnsiRequest.Response = ansiSequence.ToString ();
                                         seqReqStatus.AnsiRequest.RaiseResponseFromInput (seqReqStatus.AnsiRequest, seqReqStatus.AnsiRequest.Response);
+                                        // Clear the terminator for not be enqueued
+                                        inputRecord = default (InputRecord);
                                     }
                                 }