diff options
-rw-r--r-- | degesch.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |