Include current client in size calculation for new sessions, GitHub

issue 2662.
This commit is contained in:
nicm
2021-06-10 07:24:45 +00:00
parent 64c276c23b
commit 9f38a8807c
4 changed files with 38 additions and 14 deletions

View File

@ -269,6 +269,7 @@ cmd_new_session_exec(struct cmd *self, struct cmdq_item *item)
memset(&sc, 0, sizeof sc);
sc.item = item;
sc.s = s;
sc.tc = c;
sc.name = args_get(args, 'n');
sc.argc = args->argc;