================
@@ -996,6 +1044,18 @@ class IOHandlerProcessSTDIOWindows : public IOHandler {
       case WAIT_FAILED:
         goto exit_loop;
       case WAIT_OBJECT_0: {
+        if (isConsole) {
+          auto hasInputOrErr = ConsoleHasTextInput(hStdin);
+          if (!hasInputOrErr) {
+            llvm::consumeError(hasInputOrErr.takeError());
----------------
charles-zablit wrote:

Fixed, thanks 👍 

https://github.com/llvm/llvm-project/pull/175812
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to