diff options
Diffstat (limited to 'Source/SPStringAdditions.m')
-rw-r--r-- | Source/SPStringAdditions.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPStringAdditions.m b/Source/SPStringAdditions.m index c57ccacb..7909bd70 100644 --- a/Source/SPStringAdditions.m +++ b/Source/SPStringAdditions.m @@ -452,7 +452,7 @@ untilDate:[NSDate distantPast] inMode:NSDefaultRunLoopMode dequeue:YES]; - usleep(10000); + usleep(1000); if(!event) continue; if ([event type] == NSKeyDown) { unichar key = [[event characters] length] == 1 ? [[event characters] characterAtIndex:0] : 0; @@ -461,6 +461,7 @@ userTerminated = YES; break; } + [NSApp sendEvent:event]; } else { [NSApp sendEvent:event]; } |