mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Stop caring about empty commands, just treat as a null command.
This commit is contained in:
@ -1185,9 +1185,6 @@ window_customize_set_command_callback(struct client *c, void *itemdata,
|
||||
|
||||
pr = cmd_parse_from_string(s, NULL);
|
||||
switch (pr->status) {
|
||||
case CMD_PARSE_EMPTY:
|
||||
error = xstrdup("empty command");
|
||||
goto fail;
|
||||
case CMD_PARSE_ERROR:
|
||||
error = pr->error;
|
||||
goto fail;
|
||||
|
Reference in New Issue
Block a user