[BACK]Return to cmd-new-session.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-new-session.c between version 1.122 and 1.123

version 1.122, 2019/11/14 08:00:30 version 1.123, 2020/04/03 13:54:31
Line 334 
Line 334 
         if (args_has(args, 'P')) {          if (args_has(args, 'P')) {
                 if ((template = args_get(args, 'F')) == NULL)                  if ((template = args_get(args, 'F')) == NULL)
                         template = NEW_SESSION_TEMPLATE;                          template = NEW_SESSION_TEMPLATE;
                 cp = format_single(item, template, c, s, NULL, NULL);                  cp = format_single(item, template, c, s, s->curw, NULL);
                 cmdq_print(item, "%s", cp);                  cmdq_print(item, "%s", cp);
                 free(cp);                  free(cp);
         }          }

Legend:
Removed from v.1.122  
changed lines
  Added in v.1.123