Shut up about UTF-8 mouse mode (1005) from tmux
This commit is contained in:
		
							
								
								
									
										5
									
								
								st.c
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								st.c
									
									
									
									
									
								
							@@ -2248,11 +2248,12 @@ tsetmode(int priv, int set, int *args, int narg)
 | 
				
			|||||||
				MODBIT(term.mode, set, MODE_BRCKTPASTE);
 | 
									MODBIT(term.mode, set, MODE_BRCKTPASTE);
 | 
				
			||||||
				break;
 | 
									break;
 | 
				
			||||||
			/* Not implemented mouse modes. See comments there. */
 | 
								/* Not implemented mouse modes. See comments there. */
 | 
				
			||||||
			case 1001: /* mouse highlight mode; can hang the
 | 
					 | 
				
			||||||
				      terminal by design when implemented. */
 | 
					 | 
				
			||||||
			case 1005: /* UTF-8 mouse mode; will confuse
 | 
								case 1005: /* UTF-8 mouse mode; will confuse
 | 
				
			||||||
				      applications not supporting UTF-8
 | 
									      applications not supporting UTF-8
 | 
				
			||||||
				      and luit. */
 | 
									      and luit. */
 | 
				
			||||||
 | 
									break; // so we don't print error message below
 | 
				
			||||||
 | 
								case 1001: /* mouse highlight mode; can hang the
 | 
				
			||||||
 | 
									      terminal by design when implemented. */
 | 
				
			||||||
			case 1015: /* urxvt mangled mouse mode; incompatible
 | 
								case 1015: /* urxvt mangled mouse mode; incompatible
 | 
				
			||||||
				      and can be mistaken for other control
 | 
									      and can be mistaken for other control
 | 
				
			||||||
				      codes. */
 | 
									      codes. */
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user