mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
Add a -u flag to choose-tree to start uncollapsed, from Raghavendra D
Prabhu.
This commit is contained in:
parent
6a5adfc0ba
commit
b18ff67646
@ -39,8 +39,8 @@ void cmd_choose_tree_free(struct window_choose_data *);
|
||||
|
||||
const struct cmd_entry cmd_choose_tree_entry = {
|
||||
"choose-tree", NULL,
|
||||
"S:W:swb:c:t:", 0, 1,
|
||||
"[-sw] [-b session-template] [-c window template] [-S format] " \
|
||||
"S:W:swub:c:t:", 0, 1,
|
||||
"[-swu] [-b session-template] [-c window template] [-S format] " \
|
||||
"[-W format] " CMD_TARGET_WINDOW_USAGE,
|
||||
0,
|
||||
NULL,
|
||||
@ -232,6 +232,9 @@ windows_only:
|
||||
window_choose_ready(wl->window->active, cur_win,
|
||||
cmd_choose_tree_callback, cmd_choose_tree_free);
|
||||
|
||||
if (args_has(args, 'u'))
|
||||
window_choose_expand_all(wl->window->active);
|
||||
|
||||
return (CMD_RETURN_NORMAL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user