mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Use u_char for the send-keys string to avoid mangling top-bit-set
characters when they are promoted to int and passed to window_pane_key. Reported by Jacob Bang.
This commit is contained in:
		@@ -56,7 +56,7 @@ cmd_send_keys_exec(struct cmd *self, struct cmd_q *cmdq)
 | 
			
		||||
	struct window_pane	*wp;
 | 
			
		||||
	struct session		*s;
 | 
			
		||||
	struct input_ctx	*ictx;
 | 
			
		||||
	const char		*str;
 | 
			
		||||
	const u_char		*str;
 | 
			
		||||
	int			 i, key;
 | 
			
		||||
 | 
			
		||||
	if (cmd_find_pane(cmdq, args_get(args, 't'), &s, &wp) == NULL)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user