Include current client in size calcultion for new sessions, GitHub issue 2662.

This commit is contained in:
Nicholas Marriott
2021-04-21 09:47:03 +01:00
parent 5107e84897
commit 4cf595a402
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;