mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	C-g for modes too, from Mike Hamrick.
This commit is contained in:
		@@ -801,6 +801,7 @@ mode_tree_key(struct mode_tree_data *mtd, struct client *c, key_code *key,
 | 
				
			|||||||
	switch (*key) {
 | 
						switch (*key) {
 | 
				
			||||||
	case 'q':
 | 
						case 'q':
 | 
				
			||||||
	case '\033': /* Escape */
 | 
						case '\033': /* Escape */
 | 
				
			||||||
 | 
						case '\007': /* C-g */
 | 
				
			||||||
		return (1);
 | 
							return (1);
 | 
				
			||||||
	case KEYC_UP:
 | 
						case KEYC_UP:
 | 
				
			||||||
	case 'k':
 | 
						case 'k':
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user