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

Diff for /src/usr.bin/tmux/cmd-unbind-key.c between version 1.26 and 1.27

version 1.26, 2016/10/10 21:51:39 version 1.27, 2016/10/12 14:50:14
Line 34 
Line 34 
         .name = "unbind-key",          .name = "unbind-key",
         .alias = "unbind",          .alias = "unbind",
   
         .args = { "acnt:T:", 0, 1 },          .args = { "ant:T:", 0, 1 },
         .usage = "[-acn] [-t mode-table] [-T key-table] key",          .usage = "[-an] [-t mode-table] [-T key-table] key",
   
         .flags = 0,          .flags = 0,
         .exec = cmd_unbind_key_exec          .exec = cmd_unbind_key_exec
Line 122 
Line 122 
         }          }
   
         mtmp.key = key;          mtmp.key = key;
         mtmp.mode = !!args_has(args, 'c');  
         if ((mbind = RB_FIND(mode_key_tree, mtab->tree, &mtmp)) != NULL) {          if ((mbind = RB_FIND(mode_key_tree, mtab->tree, &mtmp)) != NULL) {
                 RB_REMOVE(mode_key_tree, mtab->tree, mbind);                  RB_REMOVE(mode_key_tree, mtab->tree, mbind);
                 free(mbind);                  free(mbind);

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27