mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Reset bracket paste mode on detach.
This commit is contained in:
		
							
								
								
									
										2
									
								
								tty.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								tty.c
									
									
									
									
									
								
							@@ -281,6 +281,8 @@ tty_stop_tty(struct tty *tty)
 | 
				
			|||||||
		else
 | 
							else
 | 
				
			||||||
			tty_raw(tty, tty_term_string1(tty->term, TTYC_SS, 0));
 | 
								tty_raw(tty, tty_term_string1(tty->term, TTYC_SS, 0));
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
						if (tty->mode & MODE_BRACKETPASTE)
 | 
				
			||||||
 | 
							tty_raw(tty, "\033[?2004l");
 | 
				
			||||||
	tty_raw(tty, tty_term_string(tty->term, TTYC_CR));
 | 
						tty_raw(tty, tty_term_string(tty->term, TTYC_CR));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	tty_raw(tty, tty_term_string(tty->term, TTYC_CNORM));
 | 
						tty_raw(tty, tty_term_string(tty->term, TTYC_CNORM));
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user