mirror of
https://github.com/tmux/tmux.git
synced 2025-01-07 16:28:48 +00:00
Allow no client for rename-session, from Ryan Freeman.
This commit is contained in:
parent
051a29ca03
commit
14ecb5032e
@ -47,7 +47,7 @@ static enum cmd_retval
|
|||||||
cmd_rename_session_exec(struct cmd *self, struct cmdq_item *item)
|
cmd_rename_session_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;
|
||||||
char *newname;
|
char *newname;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user