[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.145 and 1.146

version 1.145, 2022/06/20 07:59:37 version 1.146, 2022/07/06 08:40:52
Line 333 
Line 333 
                         server_client_set_key_table(c, NULL);                          server_client_set_key_table(c, NULL);
         }          }
   
         /*  
          * If there are still configuration file errors to display, put the new  
          * session's current window into view mode and display them now.  
          */  
         if (cfg_finished)  
                 cfg_show_causes(s);  
   
         /* Print if requested. */          /* Print if requested. */
         if (args_has(args, 'P')) {          if (args_has(args, 'P')) {
                 if ((template = args_get(args, 'F')) == NULL)                  if ((template = args_get(args, 'F')) == NULL)
Line 356 
Line 349 
   
         cmd_find_from_session(&fs, s, 0);          cmd_find_from_session(&fs, s, 0);
         cmdq_insert_hook(s, item, &fs, "after-new-session");          cmdq_insert_hook(s, item, &fs, "after-new-session");
   
           if (cfg_finished)
                   cfg_show_causes(s);
   
         if (sc.argv != NULL)          if (sc.argv != NULL)
                 cmd_free_argv(sc.argc, sc.argv);                  cmd_free_argv(sc.argc, sc.argv);

Legend:
Removed from v.1.145  
changed lines
  Added in v.1.146