Flush the ebuffer before and after running a plugin.

This commit is contained in:
Roy Marples 2007-07-04 16:06:40 +00:00
parent f28763d492
commit 710a67138f

View File

@ -113,6 +113,8 @@ void rc_plugin_run (rc_hook_t hook, const char *value)
if (rc_in_plugin) if (rc_in_plugin)
return; return;
eflush ();
while (plugin) { while (plugin) {
if (plugin->hook) { if (plugin->hook) {
int i; int i;
@ -181,6 +183,8 @@ void rc_plugin_run (rc_hook_t hook, const char *value)
} }
plugin = plugin->next; plugin = plugin->next;
} }
eflush ();
} }
void rc_plugin_unload (void) void rc_plugin_unload (void)