From: Daniel Carl Date: Tue, 6 Aug 2013 14:38:11 +0000 (+0200) Subject: Fixed none cleared inputbox after hinting. X-Git-Url: https://git.owens.tech/dummy.html/dummy.html/git?a=commitdiff_plain;h=d6fd8457eadf6c13acce89ac789df19f772d541e;p=vimb.git Fixed none cleared inputbox after hinting. --- diff --git a/src/hints.c b/src/hints.c index ebf8ac8..c9d61e2 100644 --- a/src/hints.c +++ b/src/hints.c @@ -147,7 +147,7 @@ static void run_script(char *js) vb.gui.webview, "hovering-over-link", NULL, *(value + 5) == '\0' ? NULL : (value + 5) ); } else if (!strncmp(value, "DONE:", 5)) { - vb_set_mode(VB_MODE_NORMAL, false); + vb_set_mode(VB_MODE_NORMAL, true); } else if (!strncmp(value, "INSERT:", 7)) { vb_set_mode(VB_MODE_INSERT, false); if (HINTS_GET_TYPE(mode) == HINTS_TYPE_EDITABLE) {