version 1.8, 2012/09/03 09:01:16 |
version 1.9, 2012/09/03 09:36:07 |
|
|
struct args *args = self->args; |
struct args *args = self->args; |
struct winlink *wl, *wm; |
struct winlink *wl, *wm; |
struct session *s, *s2; |
struct session *s, *s2; |
struct tty *tty; |
|
struct window_choose_data *wcd = NULL; |
struct window_choose_data *wcd = NULL; |
const char *ses_template, *win_template; |
const char *ses_template, *win_template; |
char *final_win_action, *cur_win_template; |
char *final_win_action, *cur_win_template; |
|
|
} |
} |
|
|
s = ctx->curclient->session; |
s = ctx->curclient->session; |
tty = &ctx->curclient->tty; |
|
|
|
if ((wl = cmd_find_window(ctx, args_get(args, 't'), NULL)) == NULL) |
if ((wl = cmd_find_window(ctx, args_get(args, 't'), NULL)) == NULL) |
return (CMD_RETURN_ERROR); |
return (CMD_RETURN_ERROR); |