[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.11 and 1.12

version 1.11, 2009/08/13 19:03:59 version 1.12, 2009/08/13 19:16:14
Line 239 
Line 239 
         if (ctx->cmdclient != NULL) {          if (ctx->cmdclient != NULL) {
                 if (!detached)                  if (!detached)
                         server_write_client(ctx->cmdclient, MSG_READY, NULL, 0);                          server_write_client(ctx->cmdclient, MSG_READY, NULL, 0);
                 else  
                         server_write_client(ctx->cmdclient, MSG_EXIT, NULL, 0);  
         }          }
   
         /* Set the client to the new session. */          /* Set the client to the new session. */
Line 255 
Line 253 
         }          }
         recalculate_sizes();          recalculate_sizes();
   
         return (1);     /* 1 means don't tell command client to exit */          return (!detached);     /* 1 means don't tell command client to exit */
 }  }
   
 void  void

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12