summaryrefslogtreecommitdiffstats
path: root/cmd-send-keys.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-09-21 15:25:36 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-09-21 15:25:36 +0000
commita44852442404fc466015a08e5de03fa552e5eb2c (patch)
treeaeb4e8756ba48b68051a5a4c604002281990fc78 /cmd-send-keys.c
parent6b37b2d79d2fcf3af4d086272facebb0bb9c2df2 (diff)
Nuke -i option which isn't used anymore.
Diffstat (limited to 'cmd-send-keys.c')
-rw-r--r--cmd-send-keys.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/cmd-send-keys.c b/cmd-send-keys.c
index 037cbf33..ff41c1ee 100644
--- a/cmd-send-keys.c
+++ b/cmd-send-keys.c
@@ -33,7 +33,6 @@ size_t cmd_send_keys_print(struct cmd *, char *, size_t);
struct cmd_send_keys_data {
char *target;
- int idx;
u_int nkeys;
int *keys;
};
@@ -58,7 +57,6 @@ cmd_send_keys_parse(struct cmd *self, int argc, char **argv, char **cause)
self->data = data = xmalloc(sizeof *data);
data->target = NULL;
- data->idx = -1;
data->nkeys = 0;
data->keys = NULL;
@@ -143,8 +141,6 @@ cmd_send_keys_print(struct cmd *self, char *buf, size_t len)
return (off);
if (off < len && data->target != NULL)
off += cmd_prarg(buf + off, len - off, " -t ", data->target);
- if (off < len && data->idx != -1)
- off += xsnprintf(buf + off, len - off, " -i %d", data->idx);
for (i = 0; i < data->nkeys; i++) {
if (off >= len)