aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-07-04 16:06:40 +0000
committerRoy Marples <roy@marples.name>2007-07-04 16:06:40 +0000
commit710a67138f7efc4c3442fbbc1a37e1d7191f6a24 (patch)
treee74f73eacb521ab3779a894c6f75fdd797596a3f /src
parentf28763d4928a5ffb2c288388299ccf69ee26f26e (diff)
Flush the ebuffer before and after running a plugin.
Diffstat (limited to 'src')
-rw-r--r--src/rc-plugin.c4
1 files changed, 4 insertions, 0 deletions
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)