mirror of
				https://github.com/tmux/tmux.git
				synced 2025-10-26 12:27:15 +00:00 
			
		
		
		
	Nuke -i option which isn't used anymore.
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Nicholas Marriott
					Nicholas Marriott