mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Do not adjust region lower by pane offset when scrolling up, it is
already an absolute position.
This commit is contained in:
		
							
								
								
									
										2
									
								
								tty.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								tty.c
									
									
									
									
									
								
							@@ -1040,7 +1040,7 @@ tty_cmd_scrollup(struct tty *tty, const struct tty_ctx *ctx)
 | 
			
		||||
	tty_margin_pane(tty, ctx);
 | 
			
		||||
 | 
			
		||||
	if (ctx->num == 1 || !tty_term_has(tty->term, TTYC_INDN)) {
 | 
			
		||||
		tty_cursor(tty, tty->rright, ctx->yoff + tty->rlower);
 | 
			
		||||
		tty_cursor(tty, tty->rright, tty->rlower);
 | 
			
		||||
		for (i = 0; i < ctx->num; i++)
 | 
			
		||||
			tty_putc(tty, '\n');
 | 
			
		||||
	} else
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user