mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 01:34:18 +00:00 
			
		
		
		
	We can't tell what the terminal has done with a DCS string, so reset the
cursor and attributes afterwards.
This commit is contained in:
		
							
								
								
									
										6
									
								
								tty.c
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								tty.c
									
									
									
									
									
								
							@@ -1046,6 +1046,12 @@ tty_cmd_rawstring(struct tty *tty, const struct tty_ctx *ctx)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	for (i = 0; i < ctx->num; i++)
 | 
						for (i = 0; i < ctx->num; i++)
 | 
				
			||||||
		tty_putc(tty, str[i]);
 | 
							tty_putc(tty, str[i]);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						tty->cx = tty->cy = UINT_MAX;
 | 
				
			||||||
 | 
						tty->rupper = tty->rlower = UINT_MAX;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						tty_reset(tty);
 | 
				
			||||||
 | 
						tty_cursor(tty, 0, 0);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user