Skip to content

Commit 5c8c040

Browse files
committed
Fix the delay of key-input in a particular case
1 parent 78e3217 commit 5c8c040

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/MacVim/gui_macvim.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@
333333
static CFAbsoluteTime lastTime = 0;
334334

335335
CFAbsoluteTime nowTime = CFAbsoluteTimeGetCurrent();
336-
if (nowTime - lastTime > 0.2) {
336+
if (nowTime - lastTime > 1.0 / 30) {
337337
[[MMBackend sharedInstance] update];
338338
lastTime = nowTime;
339339
}

0 commit comments

Comments
 (0)