mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Redraw buglets.
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: screen-display.c,v 1.10 2007-12-06 09:46:22 nicm Exp $ */
 | 
			
		||||
/* $Id: screen-display.c,v 1.11 2007-12-06 10:16:36 nicm Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -68,7 +68,7 @@ screen_display_fill_area(struct screen *s, u_int px, u_int py,
 | 
			
		||||
		return;
 | 
			
		||||
	if (!screen_in_x(s, px) || !screen_in_y(s, py))
 | 
			
		||||
		return;
 | 
			
		||||
	if (!screen_in_x(s, px + nx - 1) || !screen_in_y(s, py - ny - 1))
 | 
			
		||||
	if (!screen_in_x(s, px + nx - 1) || !screen_in_y(s, py + ny - 1))
 | 
			
		||||
		return;
 | 
			
		||||
	screen_fill_area(
 | 
			
		||||
	    s, screen_x(s, px), screen_y(s, py), nx, ny, data, attr, colr);
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: screen-write.c,v 1.1 2007-12-06 09:46:23 nicm Exp $ */
 | 
			
		||||
/* $Id: screen-write.c,v 1.2 2007-12-06 10:16:36 nicm Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -101,6 +101,8 @@ screen_write_put_character(struct screen_write_ctx *ctx, u_char ch)
 | 
			
		||||
 | 
			
		||||
	if (s->cx == screen_size_x(s)) {
 | 
			
		||||
		s->cx = 0;
 | 
			
		||||
		if (ctx->write != NULL)
 | 
			
		||||
			ctx->write(ctx->data, TTY_CHARACTER, '\r');
 | 
			
		||||
		screen_write_cursor_down_scroll(ctx);
 | 
			
		||||
	} else if (!screen_in_x(s, s->cx) || !screen_in_y(s, s->cy))
 | 
			
		||||
		return;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user