diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-28 13:58:37 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-28 13:58:37 +0200 |
commit | 1e79aaec2687414cc98045c545c533b0c432f11d (patch) | |
tree | 48d4f4373076840369b185aa9947f9ad164a7b28 | |
parent | 0995da3900a270387b9098f28505edec4c202955 (diff) | |
download | xK-1e79aaec2687414cc98045c545c533b0c432f11d.tar.gz xK-1e79aaec2687414cc98045c545c533b0c432f11d.tar.xz xK-1e79aaec2687414cc98045c545c533b0c432f11d.zip |
degesch: refresh the prompt when a hook is set
-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; } |