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

Diff for /src/usr.bin/tmux/cmd-send-keys.c between version 1.11 and 1.12

version 1.11, 2012/02/02 00:15:28 version 1.12, 2012/07/11 07:10:15
Line 27 
Line 27 
  * Send keys to client.   * Send keys to client.
  */   */
   
 int     cmd_send_keys_exec(struct cmd *, struct cmd_ctx *);  enum cmd_retval  cmd_send_keys_exec(struct cmd *, struct cmd_ctx *);
   
 const struct cmd_entry cmd_send_keys_entry = {  const struct cmd_entry cmd_send_keys_entry = {
         "send-keys", "send",          "send-keys", "send",
Line 39 
Line 39 
         cmd_send_keys_exec          cmd_send_keys_exec
 };  };
   
 int  enum cmd_retval
 cmd_send_keys_exec(struct cmd *self, struct cmd_ctx *ctx)  cmd_send_keys_exec(struct cmd *self, struct cmd_ctx *ctx)
 {  {
         struct args             *args = self->args;          struct args             *args = self->args;
Line 50 
Line 50 
         int                      i, key;          int                      i, key;
   
         if (cmd_find_pane(ctx, args_get(args, 't'), &s, &wp) == NULL)          if (cmd_find_pane(ctx, args_get(args, 't'), &s, &wp) == NULL)
                 return (-1);                  return (CMD_RETURN_ERROR);
   
         if (args_has(args, 'R')) {          if (args_has(args, 'R')) {
                 ictx = &wp->ictx;                  ictx = &wp->ictx;
Line 80 
Line 80 
                 }                  }
         }          }
   
         return (0);          return (CMD_RETURN_NORMAL);
 }  }

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12