From 710a67138f7efc4c3442fbbc1a37e1d7191f6a24 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 4 Jul 2007 16:06:40 +0000 Subject: [PATCH] Flush the ebuffer before and after running a plugin. --- src/rc-plugin.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/rc-plugin.c b/src/rc-plugin.c index 5970dc58..a408b5a1 100644 --- a/src/rc-plugin.c +++ b/src/rc-plugin.c @@ -113,6 +113,8 @@ void rc_plugin_run (rc_hook_t hook, const char *value) if (rc_in_plugin) return; + eflush (); + while (plugin) { if (plugin->hook) { int i; @@ -181,6 +183,8 @@ void rc_plugin_run (rc_hook_t hook, const char *value) } plugin = plugin->next; } + + eflush (); } void rc_plugin_unload (void)