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

Diff for /src/usr.bin/tmux/cmd-new-window.c between version 1.81 and 1.82

version 1.81, 2020/03/31 17:14:40 version 1.82, 2020/04/03 13:54:31
Line 108 
Line 108 
         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_WINDOW_TEMPLATE;                          template = NEW_WINDOW_TEMPLATE;
                 cp = format_single(item, template, c, s, new_wl, NULL);                  cp = format_single(item, template, c, s, new_wl,
                       new_wl->window->active);
                 cmdq_print(item, "%s", cp);                  cmdq_print(item, "%s", cp);
                 free(cp);                  free(cp);
         }          }

Legend:
Removed from v.1.81  
changed lines
  Added in v.1.82