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

Diff for /src/usr.bin/tmux/cmd-copy-mode.c between version 1.16 and 1.17

version 1.16, 2013/10/10 12:00:19 version 1.17, 2014/10/20 22:29:25
Line 24 
Line 24 
  * Enter copy mode.   * Enter copy mode.
  */   */
   
 void             cmd_copy_mode_key_binding(struct cmd *, int);  
 enum cmd_retval  cmd_copy_mode_exec(struct cmd *, struct cmd_q *);  enum cmd_retval  cmd_copy_mode_exec(struct cmd *, struct cmd_q *);
   
 const struct cmd_entry cmd_copy_mode_entry = {  const struct cmd_entry cmd_copy_mode_entry = {
Line 32 
Line 31 
         "t:u", 0, 0,          "t:u", 0, 0,
         "[-u] " CMD_TARGET_PANE_USAGE,          "[-u] " CMD_TARGET_PANE_USAGE,
         0,          0,
         cmd_copy_mode_key_binding,  
         cmd_copy_mode_exec          cmd_copy_mode_exec
 };  };
   
 void  
 cmd_copy_mode_key_binding(struct cmd *self, int key)  
 {  
         self->args = args_create(0);  
         if (key == KEYC_PPAGE)  
                 args_set(self->args, 'u', NULL);  
 }  
   
 enum cmd_retval  enum cmd_retval
 cmd_copy_mode_exec(struct cmd *self, struct cmd_q *cmdq)  cmd_copy_mode_exec(struct cmd *self, struct cmd_q *cmdq)

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17