mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Allow prefix and prefix2 to be set to None to disable (useful if you
would rather bind the prefix in the root table).
This commit is contained in:
		@@ -396,7 +396,8 @@ cmd_set_option_key(__unused struct cmd *self, struct cmd_q *cmdq,
 | 
			
		||||
{
 | 
			
		||||
	key_code	key;
 | 
			
		||||
 | 
			
		||||
	if ((key = key_string_lookup_string(value)) == KEYC_NONE) {
 | 
			
		||||
	key = key_string_lookup_string(value);
 | 
			
		||||
	if (key == KEYC_UNKNOWN) {
 | 
			
		||||
		cmdq_error(cmdq, "bad key: %s", value);
 | 
			
		||||
		return (NULL);
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user