diff --git a/vis.c b/vis.c index 17b7cf2..29039c4 100644 --- a/vis.c +++ b/vis.c @@ -832,7 +832,7 @@ static void prompt_enter(const Arg *arg) { } break; case ':': - if (!exec_command(s)) + if ((strcmp(s, "") != 0) && !exec_command(s)) editor_info_show(vis, "Not an editor command"); break; }