fixes prompt color after error
authorRobert Timm <mail@rtti.de>
Wed, 8 Mar 2017 20:51:06 +0000 (21:51 +0100)
committerRobert Timm <mail@rtti.de>
Wed, 8 Mar 2017 20:51:06 +0000 (21:51 +0100)
src/normal.c

index faa5733..e71a4f1 100644 (file)
@@ -506,7 +506,8 @@ static VbResult normal_increment_decrement(Client *c, const NormalCmdInfo *info)
 static VbResult normal_input_open(Client *c, const NormalCmdInfo *info)
 {
     if (strchr("ot", info->key)) {
-        vb_input_set_text(c, info->key == 't' ? ":tabopen " : ":open ");
+        vb_echo(c, MSG_NORMAL, FALSE,
+                ":%s ", info->key == 't' ? "tabopen" : "open");
     } else {
         vb_echo(c, MSG_NORMAL, FALSE,
                 ":%s %s", info->key == 'T' ? "tabopen" : "open", c->state.uri);