mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Support UTF-8 key bindings by expanding the key type from int to
uint64_t and converting UTF-8 to Unicode on input and the reverse on output. (This allows key bindings, there are still omissions - the largest being that the various prompts do not accept UTF-8.)
This commit is contained in:
		@@ -28,7 +28,7 @@ struct screen *window_clock_init(struct window_pane *);
 | 
			
		||||
void	window_clock_free(struct window_pane *);
 | 
			
		||||
void	window_clock_resize(struct window_pane *, u_int, u_int);
 | 
			
		||||
void	window_clock_key(struct window_pane *, struct client *,
 | 
			
		||||
	    struct session *, int, struct mouse_event *);
 | 
			
		||||
	    struct session *, key_code, struct mouse_event *);
 | 
			
		||||
 | 
			
		||||
void	window_clock_timer_callback(int, short, void *);
 | 
			
		||||
void	window_clock_draw_screen(struct window_pane *);
 | 
			
		||||
@@ -186,7 +186,8 @@ window_clock_resize(struct window_pane *wp, u_int sx, u_int sy)
 | 
			
		||||
 | 
			
		||||
void
 | 
			
		||||
window_clock_key(struct window_pane *wp, unused struct client *c,
 | 
			
		||||
    unused struct session *sess, unused int key, unused struct mouse_event *m)
 | 
			
		||||
    unused struct session *sess, unused key_code key,
 | 
			
		||||
    unused struct mouse_event *m)
 | 
			
		||||
{
 | 
			
		||||
	window_pane_reset_mode(wp);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user