mirror of
				https://github.com/tmux/tmux.git
				synced 2025-10-26 12:27:15 +00:00 
			
		
		
		
	Check prefix when retrying so it is checked while repeat flag is
set. GitHub issue 1239.
This commit is contained in:
		| @@ -907,6 +907,7 @@ server_client_handle_key(struct client *c, key_code key) | ||||
| 	 * The prefix always takes precedence and forces a switch to the prefix | ||||
| 	 * table, unless we are already there. | ||||
| 	 */ | ||||
| retry: | ||||
| 	key0 = (key & ~KEYC_XTERM); | ||||
| 	if ((key0 == (key_code)options_get_number(s->options, "prefix") || | ||||
| 	    key0 == (key_code)options_get_number(s->options, "prefix2")) && | ||||
| @@ -917,7 +918,6 @@ server_client_handle_key(struct client *c, key_code key) | ||||
| 	} | ||||
| 	flags = c->flags; | ||||
|  | ||||
| retry: | ||||
| 	/* Log key table. */ | ||||
| 	if (wp == NULL) | ||||
| 		log_debug("key table %s (no pane)", table->name); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 nicm
					nicm