From 1e79aaec2687414cc98045c545c533b0c432f11d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Fri, 28 Oct 2016 13:58:37 +0200 Subject: [PATCH] degesch: refresh the prompt when a hook is set --- degesch.c | 1 + 1 file changed, 1 insertion(+) 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; }