summaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
Diffstat (limited to 'degesch.c')
-rw-r--r--degesch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/degesch.c b/degesch.c
index a26ddd9..d4066c1 100644
--- a/degesch.c
+++ b/degesch.c
@@ -9138,6 +9138,7 @@ lua_plugin_hook_prompt (lua_State *L)
hook->data.prompt_hook.vtable = &lua_prompt_hook_vtable;
plugin->ctx->prompt_hooks =
hook_insert (plugin->ctx->prompt_hooks, &hook->data.hook);
+ refresh_prompt (plugin->ctx);
return 1;
}