If an unknown command was typed into inputbox the inputbox was still color in
the error color, but the content was removed so that the user is not informed
about the reason for the error. Even more critical was this in case the
'input-autohide' is enabled. In this case the clearing of the input box caused
the hiding of this, so that the user will never see that the command failed.
/* copy to have original command for history */
const char *in = input;
gboolean nohist = false;
- VbCmdResult res = VB_CMD_ERROR;
+ VbCmdResult res = VB_CMD_ERROR | VB_CMD_KEEPINPUT;
ExArg *arg = g_slice_new0(ExArg);
arg->lhs = g_string_new("");
arg->rhs = g_string_new("");