mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
Use the right index when adding item in choose-tree, from Thomas Adam.
This commit is contained in:
parent
9e7bbc7281
commit
4f8a6867fa
@ -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