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

Diff for /src/usr.bin/tmux/cmd-switch-client.c between version 1.65 and 1.66

version 1.65, 2020/04/13 20:51:57 version 1.66, 2020/05/16 15:45:29
Line 34 
Line 34 
         .name = "switch-client",          .name = "switch-client",
         .alias = "switchc",          .alias = "switchc",
   
         .args = { "lc:Enpt:rT:Z", 0, 0 },          .args = { "lc:EFnpt:rT:Z", 0, 0 },
         .usage = "[-ElnprZ] [-c target-client] [-t target-session] "          .usage = "[-ElnprZ] [-c target-client] [-t target-session] "
                  "[-T key-table]",                   "[-T key-table]",
   
Line 74 
Line 74 
         wl = target.wl;          wl = target.wl;
         wp = target.wp;          wp = target.wp;
   
         if (args_has(args, 'r'))          if (args_has(args, 'r')) {
                 tc->flags ^= CLIENT_READONLY;                  if (tc->flags & CLIENT_READONLY)
                           tc->flags &= ~(CLIENT_READONLY|CLIENT_IGNORESIZE);
                   else
                           tc->flags |= (CLIENT_READONLY|CLIENT_IGNORESIZE);
           }
   
         tablename = args_get(args, 'T');          tablename = args_get(args, 'T');
         if (tablename != NULL) {          if (tablename != NULL) {

Legend:
Removed from v.1.65  
changed lines
  Added in v.1.66