version 1.43, 2020/04/13 10:59:58 |
version 1.44, 2020/04/13 20:51:57 |
|
|
struct args *args = cmd_get_args(self); |
struct args *args = cmd_get_args(self); |
struct cmd_find_state *target = cmdq_get_target(item); |
struct cmd_find_state *target = cmdq_get_target(item); |
struct spawn_context sc; |
struct spawn_context sc; |
|
struct client *tc = cmdq_get_target_client(item); |
struct session *s = target->s; |
struct session *s = target->s; |
struct winlink *wl = target->wl; |
struct winlink *wl = target->wl; |
char *cause = NULL; |
char *cause = NULL; |
|
|
sc.item = item; |
sc.item = item; |
sc.s = s; |
sc.s = s; |
sc.wl = wl; |
sc.wl = wl; |
sc.c = cmd_find_client(item, NULL, 1); |
sc.tc = tc; |
|
|
sc.name = NULL; |
sc.name = NULL; |
sc.argc = args->argc; |
sc.argc = args->argc; |