mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Merge branch 'obsd-master'
This commit is contained in:
		@@ -45,6 +45,10 @@ static const struct input_key_ent input_keys[] = {
 | 
			
		||||
	/* Backspace key. */
 | 
			
		||||
	{ KEYC_BSPACE,		"\177",		0 },
 | 
			
		||||
 | 
			
		||||
	/* Paste keys. */
 | 
			
		||||
	{ KEYC_PASTE_START,	"\033[200~",	0 },
 | 
			
		||||
	{ KEYC_PASTE_END,	"\033[201~",	0 },
 | 
			
		||||
 | 
			
		||||
	/* Function keys. */
 | 
			
		||||
	{ KEYC_F1,		"\033OP",	0 },
 | 
			
		||||
	{ KEYC_F2,		"\033OQ",	0 },
 | 
			
		||||
 
 | 
			
		||||
@@ -251,6 +251,10 @@ key_string_lookup_key(key_code key)
 | 
			
		||||
		return ("FocusIn");
 | 
			
		||||
	if (key == KEYC_FOCUS_OUT)
 | 
			
		||||
		return ("FocusOut");
 | 
			
		||||
	if (key == KEYC_PASTE_START)
 | 
			
		||||
		return ("PasteStart");
 | 
			
		||||
	if (key == KEYC_PASTE_END)
 | 
			
		||||
		return ("PasteEnd");
 | 
			
		||||
	if (key == KEYC_MOUSE)
 | 
			
		||||
		return ("Mouse");
 | 
			
		||||
	if (key == KEYC_DRAGGING)
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								tmux.h
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								tmux.h
									
									
									
									
									
								
							@@ -131,6 +131,10 @@ enum {
 | 
			
		||||
	KEYC_FOCUS_IN = KEYC_BASE,
 | 
			
		||||
	KEYC_FOCUS_OUT,
 | 
			
		||||
 | 
			
		||||
	/* Paste brackets. */
 | 
			
		||||
	KEYC_PASTE_START,
 | 
			
		||||
	KEYC_PASTE_END,
 | 
			
		||||
 | 
			
		||||
	/* Mouse keys. */
 | 
			
		||||
	KEYC_MOUSE, /* unclassified mouse event */
 | 
			
		||||
	KEYC_DRAGGING, /* dragging in progress */
 | 
			
		||||
 
 | 
			
		||||
@@ -165,6 +165,10 @@ static const struct tty_default_key_raw tty_default_raw_keys[] = {
 | 
			
		||||
	/* Focus tracking. */
 | 
			
		||||
	{ "\033[I", KEYC_FOCUS_IN },
 | 
			
		||||
	{ "\033[O", KEYC_FOCUS_OUT },
 | 
			
		||||
 | 
			
		||||
	/* Paste keys. */
 | 
			
		||||
	{ "\033[200~", KEYC_PASTE_START },
 | 
			
		||||
	{ "\033[201~", KEYC_PASTE_END },
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
/* Default terminfo(5) keys. */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user