If the hint-input-* commands where used and the hinted elements where selected
by number, the input box was cleared immediately after it where filled,
because of the to late deactivation of hint mode in command_input.
{
const char *url;
+ vb_set_mode(VB_MODE_COMMAND, false);
+
/* add current url if requested */
if (VB_INPUT_CURRENT_URI == arg->i && (url = GET_URI())) {
/* append the current url to the input message */
vb_echo_force(VB_MSG_NORMAL, false, "%s", arg->s);
}
- vb_set_mode(VB_MODE_COMMAND, false);
-
return true;
}
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, true);
+ vb_set_mode(VB_MODE_NORMAL, false);
} else if (!strncmp(value, "INSERT:", 7)) {
vb_set_mode(VB_MODE_INSERT, false);
if (HINTS_GET_TYPE(mode) == HINTS_TYPE_EDITABLE) {