mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Only send XDA on 0.
This commit is contained in:
		
							
								
								
									
										4
									
								
								input.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								input.c
									
									
									
									
									
								
							@@ -1609,7 +1609,9 @@ input_csi_dispatch(struct input_ctx *ictx)
 | 
				
			|||||||
			screen_set_cursor_style(s, n);
 | 
								screen_set_cursor_style(s, n);
 | 
				
			||||||
		break;
 | 
							break;
 | 
				
			||||||
	case INPUT_CSI_XDA:
 | 
						case INPUT_CSI_XDA:
 | 
				
			||||||
		input_reply(ictx, "\033P>|tmux %s\033\\", getversion());
 | 
							n = input_get(ictx, 0, 0, 0);
 | 
				
			||||||
 | 
							if (n != 0)
 | 
				
			||||||
 | 
								input_reply(ictx, "\033P>|tmux %s\033\\", getversion());
 | 
				
			||||||
		break;
 | 
							break;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user