mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	The repeat prompt in both emacs and vi (and the old one in tmux) doesn't
support line editing and instead executes a command as soon as a non-number key is pressed. Add a -N flag to command-prompt for the same in copy mode. Reported by Theo Buehler.
This commit is contained in:
		@@ -727,9 +727,10 @@ server_client_handle_key(struct client *c, key_code key)
 | 
			
		||||
		server_clear_identify(c, NULL);
 | 
			
		||||
	}
 | 
			
		||||
	if (c->prompt_string != NULL) {
 | 
			
		||||
		if (!(c->flags & CLIENT_READONLY))
 | 
			
		||||
			status_prompt_key(c, key);
 | 
			
		||||
		return;
 | 
			
		||||
		if (c->flags & CLIENT_READONLY)
 | 
			
		||||
			return;
 | 
			
		||||
		if (status_prompt_key(c, key) == 0)
 | 
			
		||||
			return;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/* Check for mouse keys. */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user