version 1.21, 2018/03/01 12:53:08 |
version 1.22, 2018/03/23 19:17:03 |
|
|
cmd_rename_window_exec(struct cmd *self, struct cmdq_item *item) |
cmd_rename_window_exec(struct cmd *self, struct cmdq_item *item) |
{ |
{ |
struct args *args = self->args; |
struct args *args = self->args; |
struct client *c = cmd_find_client(item, NULL, 0); |
struct client *c = cmd_find_client(item, NULL, 1); |
struct session *s = item->target.s; |
struct session *s = item->target.s; |
struct winlink *wl = item->target.wl; |
struct winlink *wl = item->target.wl; |
char *newname; |
char *newname; |