mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Continue rather than returning if not a mouse key, to avoid hanging on any
function key...
This commit is contained in:
		@@ -467,8 +467,7 @@ tty_keys_next(struct tty *tty)
 | 
			
		||||
		key = KEYC_MOUSE;
 | 
			
		||||
		goto handle_key;
 | 
			
		||||
	case -1:	/* no, or not valid */
 | 
			
		||||
		evbuffer_drain(tty->event->input, size);
 | 
			
		||||
		return (1);
 | 
			
		||||
		break;
 | 
			
		||||
	case 1:		/* partial */
 | 
			
		||||
		goto partial_key;
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user