mirror of
https://github.com/tmux/tmux.git
synced 2025-03-30 03:18:51 +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
|
else
|
||||||
name = NULL;
|
name = NULL;
|
||||||
|
|
||||||
wl = NULL;
|
|
||||||
if (idx != -1)
|
if (idx != -1)
|
||||||
wl = winlink_find_by_index(&s->windows, idx);
|
wl = winlink_find_by_index(&s->windows, idx);
|
||||||
if (wl != NULL && args_has(args, 'k')) {
|
if (wl != NULL && args_has(args, 'k')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user