Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2e95cf2

Browse files
authored
Merge pull request #27528 from greglucas/macos-interactive-prompt
2 parents 589d3fb + fd43a64 commit 2e95cf2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/_macosx.m

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,6 @@ static int wait_for_stdin() {
8989
if (!event) { break; }
9090
[NSApp sendEvent: event];
9191
}
92-
// We need to run the run loop for a short time to allow the
93-
// events to be processed and keep flushing them while we wait for stdin
94-
[[NSRunLoop currentRunLoop] runUntilDate: [NSDate dateWithTimeIntervalSinceNow: 0.01]];
9592
}
9693
// Remove the input handler as an observer
9794
[[NSNotificationCenter defaultCenter] removeObserver: stdinHandle];

0 commit comments

Comments
 (0)