Skip to content

Commit 362a5c0

Browse files
committed
Fix feedkeys in timer callback
1 parent ca82514 commit 362a5c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MacVim/MMBackend.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ - (BOOL)waitForInput:(int)milliseconds
679679

680680
// Only start the run loop if the input queue is empty, otherwise process
681681
// the input first so that the input on queue isn't delayed.
682-
if ([inputQueue count]) {
682+
if ([inputQueue count] || input_available()) {
683683
inputReceived = YES;
684684
} else {
685685
// Wait for the specified amount of time, unless 'milliseconds' is

0 commit comments

Comments
 (0)