mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Merge branch 'obsd-master'
This commit is contained in:
		
							
								
								
									
										2
									
								
								tty.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								tty.c
									
									
									
									
									
								
							@@ -335,6 +335,7 @@ tty_start_tty(struct tty *tty)
 | 
			
		||||
	tty->flags |= TTY_STARTED;
 | 
			
		||||
	tty_invalidate(tty);
 | 
			
		||||
 | 
			
		||||
	if (*tty->ccolour != '\0')
 | 
			
		||||
		tty_force_cursor_colour(tty, "");
 | 
			
		||||
 | 
			
		||||
	tty->mouse_drag_flag = 0;
 | 
			
		||||
@@ -381,6 +382,7 @@ tty_stop_tty(struct tty *tty)
 | 
			
		||||
	}
 | 
			
		||||
	if (tty->mode & MODE_BRACKETPASTE)
 | 
			
		||||
		tty_raw(tty, "\033[?2004l");
 | 
			
		||||
	if (*tty->ccolour != '\0')
 | 
			
		||||
		tty_raw(tty, tty_term_string(tty->term, TTYC_CR));
 | 
			
		||||
 | 
			
		||||
	tty_raw(tty, tty_term_string(tty->term, TTYC_CNORM));
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user