mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
Split out getting the current state from the target search so it can be
replaced if we already know the current.
This commit is contained in:
@ -199,7 +199,7 @@ cmdq_continue_one(struct cmd_q *cmdq)
|
||||
|
||||
cmdq_guard(cmdq, "begin", flags);
|
||||
|
||||
if (cmd_prepare_state(cmd, cmdq) != 0)
|
||||
if (cmd_prepare_state(cmd, cmdq, NULL) != 0)
|
||||
goto error;
|
||||
retval = cmd->entry->exec(cmd, cmdq);
|
||||
if (retval == CMD_RETURN_ERROR)
|
||||
|
Reference in New Issue
Block a user