=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-send-keys.c,v retrieving revision 1.11 retrieving revision 1.12 diff -c -r1.11 -r1.12 *** src/usr.bin/tmux/cmd-send-keys.c 2012/02/02 00:15:28 1.11 --- src/usr.bin/tmux/cmd-send-keys.c 2012/07/11 07:10:15 1.12 *************** *** 1,4 **** ! /* $OpenBSD: cmd-send-keys.c,v 1.11 2012/02/02 00:15:28 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: cmd-send-keys.c,v 1.12 2012/07/11 07:10:15 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott *************** *** 27,33 **** * Send keys to client. */ ! int cmd_send_keys_exec(struct cmd *, struct cmd_ctx *); const struct cmd_entry cmd_send_keys_entry = { "send-keys", "send", --- 27,33 ---- * Send keys to client. */ ! enum cmd_retval cmd_send_keys_exec(struct cmd *, struct cmd_ctx *); const struct cmd_entry cmd_send_keys_entry = { "send-keys", "send", *************** *** 39,45 **** cmd_send_keys_exec }; ! int cmd_send_keys_exec(struct cmd *self, struct cmd_ctx *ctx) { struct args *args = self->args; --- 39,45 ---- cmd_send_keys_exec }; ! enum cmd_retval cmd_send_keys_exec(struct cmd *self, struct cmd_ctx *ctx) { struct args *args = self->args; *************** *** 50,56 **** int i, key; if (cmd_find_pane(ctx, args_get(args, 't'), &s, &wp) == NULL) ! return (-1); if (args_has(args, 'R')) { ictx = &wp->ictx; --- 50,56 ---- int i, key; if (cmd_find_pane(ctx, args_get(args, 't'), &s, &wp) == NULL) ! return (CMD_RETURN_ERROR); if (args_has(args, 'R')) { ictx = &wp->ictx; *************** *** 80,84 **** } } ! return (0); } --- 80,84 ---- } } ! return (CMD_RETURN_NORMAL); }