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

Diff for /src/usr.bin/tmux/cmd-rotate-window.c between version 1.14 and 1.15

version 1.14, 2013/10/10 12:00:22 version 1.15, 2014/10/20 22:29:25
Line 24 
Line 24 
  * Rotate the panes in a window.   * Rotate the panes in a window.
  */   */
   
 void             cmd_rotate_window_key_binding(struct cmd *, int);  
 enum cmd_retval  cmd_rotate_window_exec(struct cmd *, struct cmd_q *);  enum cmd_retval  cmd_rotate_window_exec(struct cmd *, struct cmd_q *);
   
 const struct cmd_entry cmd_rotate_window_entry = {  const struct cmd_entry cmd_rotate_window_entry = {
Line 32 
Line 31 
         "Dt:U", 0, 0,          "Dt:U", 0, 0,
         "[-DU] " CMD_TARGET_WINDOW_USAGE,          "[-DU] " CMD_TARGET_WINDOW_USAGE,
         0,          0,
         cmd_rotate_window_key_binding,  
         cmd_rotate_window_exec          cmd_rotate_window_exec
 };  };
   
 void  
 cmd_rotate_window_key_binding(struct cmd *self, int key)  
 {  
         self->args = args_create(0);  
         if (key == ('o' | KEYC_ESCAPE))  
                 args_set(self->args, 'D', NULL);  
 }  
   
 enum cmd_retval  enum cmd_retval
 cmd_rotate_window_exec(struct cmd *self, struct cmd_q *cmdq)  cmd_rotate_window_exec(struct cmd *self, struct cmd_q *cmdq)

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15