mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Fix character position check, from Tiago Resende.
This commit is contained in:
		@@ -1048,7 +1048,7 @@ screen_write_cell(struct screen_write_ctx *ctx,
 | 
			
		||||
 | 
			
		||||
	/* Sanity checks. */
 | 
			
		||||
	if (((s->mode & MODE_WRAP) && s->cx > screen_size_x(s) - width)
 | 
			
		||||
	    || s->cy > screen_size_y(s) - width)
 | 
			
		||||
	    || s->cy > screen_size_y(s) - 1)
 | 
			
		||||
		return;
 | 
			
		||||
 | 
			
		||||
	/* Handle overwriting of UTF-8 characters. */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user