mirror of
https://github.com/tmux/tmux.git
synced 2024-12-04 19:58:48 +00:00
Fix new-window -k, GitHub issue 1403.
This commit is contained in:
parent
cfc81692e6
commit
ff67ef945d
@ -103,7 +103,6 @@ cmd_new_window_exec(struct cmd *self, struct cmdq_item *item)
|
||||
else
|
||||
name = NULL;
|
||||
|
||||
wl = NULL;
|
||||
if (idx != -1)
|
||||
wl = winlink_find_by_index(&s->windows, idx);
|
||||
if (wl != NULL && args_has(args, 'k')) {
|
||||
|
Loading…
Reference in New Issue
Block a user