mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-23 02:24:06 +00: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
2 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue