mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Clear history on RIS like most other terminals do.
This commit is contained in:
		
							
								
								
									
										1
									
								
								input.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								input.c
									
									
									
									
									
								
							@@ -1188,6 +1188,7 @@ input_esc_dispatch(struct input_ctx *ictx)
 | 
				
			|||||||
		window_pane_reset_palette(ictx->wp);
 | 
							window_pane_reset_palette(ictx->wp);
 | 
				
			||||||
		input_reset_cell(ictx);
 | 
							input_reset_cell(ictx);
 | 
				
			||||||
		screen_write_reset(sctx);
 | 
							screen_write_reset(sctx);
 | 
				
			||||||
 | 
							screen_write_clearhistory(sctx);
 | 
				
			||||||
		break;
 | 
							break;
 | 
				
			||||||
	case INPUT_ESC_IND:
 | 
						case INPUT_ESC_IND:
 | 
				
			||||||
		screen_write_linefeed(sctx, 0, ictx->cell.cell.bg);
 | 
							screen_write_linefeed(sctx, 0, ictx->cell.cell.bg);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user