Added gui_macvim_force_flush() function (called from ui_delay())

git-svn-id: http://macvim.googlecode.com/svn/trunk@290 96c4425d-ca35-0410-94e5-3396d5c13a8f
This commit is contained in:
Bjorn Winckler
2007-09-28 18:25:00 +00:00
parent c4980c3ac4
commit 651c2ad975
+9
View File
@@ -145,6 +145,15 @@ gui_mch_flush(void)
}
/* Force flush output to MacVim. Do not call this method unless absolutely
* necessary (use gui_mch_flush() instead). */
void
gui_macvim_force_flush(void)
{
[[MMBackend sharedInstance] flushQueue:YES];
}
/*
* GUI input routine called by gui_wait_for_chars(). Waits for a character
* from the keyboard.