Flush the ebuffer before and after running a plugin.
This commit is contained in:
parent
f28763d492
commit
710a67138f
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user