version 1.29, 2014/10/20 23:35:28 |
version 1.30, 2015/02/05 10:29:43 |
|
|
RB_FOREACH(wl, winlinks, &s->windows) { |
RB_FOREACH(wl, winlinks, &s->windows) { |
ft = format_create(); |
ft = format_create(); |
format_add(ft, "line", "%u", n); |
format_add(ft, "line", "%u", n); |
format_session(ft, s); |
format_defaults(ft, NULL, s, wl, NULL); |
format_winlink(ft, s, wl); |
|
format_window_pane(ft, wl->window->active); |
|
|
|
line = format_expand(ft, template); |
line = format_expand(ft, template); |
cmdq_print(cmdq, "%s", line); |
cmdq_print(cmdq, "%s", line); |