[BACK]Return to server-client.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/server-client.c between version 1.357 and 1.358

version 1.357, 2020/06/10 07:27:10 version 1.358, 2020/06/18 08:34:22
Line 2370 
Line 2370 
         }          }
         if (strcmp(next, "no-output") == 0)          if (strcmp(next, "no-output") == 0)
                 return (CLIENT_CONTROL_NOOUTPUT);                  return (CLIENT_CONTROL_NOOUTPUT);
           if (strcmp(next, "wait-exit") == 0)
                   return (CLIENT_CONTROL_WAITEXIT);
         return (0);          return (0);
 }  }
   
Line 2409 
Line 2411 
                         control_reset_offsets(c);                          control_reset_offsets(c);
         }          }
         free(copy);          free(copy);
           proc_send(c->peer, MSG_FLAGS, -1, &c->flags, sizeof c->flags);
 }  }
   
 /* Get client flags. This is only flags useful to show to users. */  /* Get client flags. This is only flags useful to show to users. */
Line 2427 
Line 2430 
                 strlcat(s, "ignore-size,", sizeof s);                  strlcat(s, "ignore-size,", sizeof s);
         if (c->flags & CLIENT_CONTROL_NOOUTPUT)          if (c->flags & CLIENT_CONTROL_NOOUTPUT)
                 strlcat(s, "no-output,", sizeof s);                  strlcat(s, "no-output,", sizeof s);
           if (c->flags & CLIENT_CONTROL_WAITEXIT)
                   strlcat(s, "wait-exit,", sizeof s);
         if (c->flags & CLIENT_CONTROL_PAUSEAFTER) {          if (c->flags & CLIENT_CONTROL_PAUSEAFTER) {
                 xsnprintf(tmp, sizeof tmp, "pause-after=%u,",                  xsnprintf(tmp, sizeof tmp, "pause-after=%u,",
                     c->pause_age / 1000);                      c->pause_age / 1000);

Legend:
Removed from v.1.357  
changed lines
  Added in v.1.358