mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Pass keys that aren't 0-9 on to normal key processing when display-panes
is active (restores previous behaviour).
This commit is contained in:
		@@ -1220,9 +1220,13 @@ server_client_handle_key(struct client *c, struct key_event *event)
 | 
			
		||||
	 * blocked so they need to be processed immediately rather than queued.
 | 
			
		||||
	 */
 | 
			
		||||
	if ((~c->flags & CLIENT_READONLY) && c->overlay_key != NULL) {
 | 
			
		||||
		if (c->overlay_key(c, event) != 0)
 | 
			
		||||
		switch (c->overlay_key(c, event)) {
 | 
			
		||||
		case 0:
 | 
			
		||||
			return (0);
 | 
			
		||||
		case 1:
 | 
			
		||||
			server_client_clear_overlay(c);
 | 
			
		||||
		return (0);
 | 
			
		||||
			return (0);
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/*
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user