[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.18 and 1.19

version 1.18, 2013/10/11 08:06:03 version 1.19, 2014/05/14 06:45:35
Line 27 
Line 27 
  */   */
   
 enum cmd_retval  cmd_unbind_key_exec(struct cmd *, struct cmd_q *);  enum cmd_retval  cmd_unbind_key_exec(struct cmd *, struct cmd_q *);
 enum cmd_retval  cmd_unbind_key_table(struct cmd *, struct cmd_q *, int);  enum cmd_retval  cmd_unbind_key_mode_table(struct cmd *, struct cmd_q *, int);
   
 const struct cmd_entry cmd_unbind_key_entry = {  const struct cmd_entry cmd_unbind_key_entry = {
         "unbind-key", "unbind",          "unbind-key", "unbind",
         "acnt:", 0, 1,          "acnt:", 0, 1,
         "[-acn] [-t key-table] key",          "[-acn] [-t mode-table] key",
         0,          0,
         NULL,          NULL,
         cmd_unbind_key_exec          cmd_unbind_key_exec
Line 64 
Line 64 
         }          }
   
         if (args_has(args, 't'))          if (args_has(args, 't'))
                 return (cmd_unbind_key_table(self, cmdq, key));                  return (cmd_unbind_key_mode_table(self, cmdq, key));
   
         if (key == KEYC_NONE) {          if (key == KEYC_NONE) {
                 while (!RB_EMPTY(&key_bindings)) {                  while (!RB_EMPTY(&key_bindings)) {
Line 81 
Line 81 
 }  }
   
 enum cmd_retval  enum cmd_retval
 cmd_unbind_key_table(struct cmd *self, struct cmd_q *cmdq, int key)  cmd_unbind_key_mode_table(struct cmd *self, struct cmd_q *cmdq, int key)
 {  {
         struct args                     *args = self->args;          struct args                     *args = self->args;
         const char                      *tablename;          const char                      *tablename;

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19