mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Merge branch 'obsd-master' into master
This commit is contained in:
		
							
								
								
									
										10
									
								
								tty.c
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								tty.c
									
									
									
									
									
								
							@@ -692,10 +692,12 @@ tty_update_cursor(struct tty *tty, int mode, int changed, struct screen *s)
 | 
				
			|||||||
	tty_putcode(tty, TTYC_CNORM);
 | 
						tty_putcode(tty, TTYC_CNORM);
 | 
				
			||||||
	switch (cstyle) {
 | 
						switch (cstyle) {
 | 
				
			||||||
	case SCREEN_CURSOR_DEFAULT:
 | 
						case SCREEN_CURSOR_DEFAULT:
 | 
				
			||||||
		if (tty_term_has(tty->term, TTYC_SE))
 | 
							if (tty->cstyle != SCREEN_CURSOR_DEFAULT) {
 | 
				
			||||||
			tty_putcode(tty, TTYC_SE);
 | 
								if (tty_term_has(tty->term, TTYC_SE))
 | 
				
			||||||
		else
 | 
									tty_putcode(tty, TTYC_SE);
 | 
				
			||||||
			tty_putcode1(tty, TTYC_SS, 0);
 | 
								else
 | 
				
			||||||
 | 
									tty_putcode1(tty, TTYC_SS, 0);
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
		if (mode & (MODE_CURSOR_BLINKING|MODE_CURSOR_VERY_VISIBLE))
 | 
							if (mode & (MODE_CURSOR_BLINKING|MODE_CURSOR_VERY_VISIBLE))
 | 
				
			||||||
			tty_putcode(tty, TTYC_CVVIS);
 | 
								tty_putcode(tty, TTYC_CVVIS);
 | 
				
			||||||
		break;
 | 
							break;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user