mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 19:39:04 +00:00
Use the right index when adding item in choose-tree, from Thomas Adam.
This commit is contained in:
parent
c914fcfacb
commit
a1cd0eee1b
@ -212,7 +212,8 @@ windows_only:
|
||||
|
||||
window_choose_add_window(wl->window->active,
|
||||
ctx, s2, wm, cur_win_template,
|
||||
final_win_action, idx_ses);
|
||||
final_win_action,
|
||||
(wflag && !sflag) ? win_ses : idx_ses);
|
||||
|
||||
free(final_win_action);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user