mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-23 00:23:08 +01:00
Add ability to active pane in list-windows and find-window formats, from
Carl Henrik Lunde.
This commit is contained in:
parent
18236c1c1b
commit
2a609b332f
@ -193,6 +193,7 @@ cmd_find_window_exec(struct cmd *self, struct cmd_ctx *ctx)
|
||||
ARRAY_ITEM(&find_list, i).list_ctx);
|
||||
format_session(cdata->ft, s);
|
||||
format_winlink(cdata->ft, s, wm);
|
||||
format_window_pane(cdata->ft, wm->window->active);
|
||||
|
||||
window_choose_add(wl->window->active, cdata);
|
||||
}
|
||||
|
@ -99,6 +99,7 @@ cmd_list_windows_session(
|
||||
format_add(ft, "line", "%u", n);
|
||||
format_session(ft, s);
|
||||
format_winlink(ft, s, wl);
|
||||
format_window_pane(ft, wl->window->active);
|
||||
|
||||
line = format_expand(ft, template);
|
||||
ctx->print(ctx, "%s", line);
|
||||
|
Loading…
Reference in New Issue
Block a user