mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	CSR resets the cursor to the top-left. Reported by merdely.
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
				
			|||||||
/* $Id: screen-write.c,v 1.36 2009-02-25 21:56:46 nicm Exp $ */
 | 
					/* $Id: screen-write.c,v 1.37 2009-03-05 20:27:51 nicm Exp $ */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
					 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
				
			||||||
@@ -379,7 +379,7 @@ screen_write_scrollregion(
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	/* Cursor moves to top-left. */
 | 
						/* Cursor moves to top-left. */
 | 
				
			||||||
	s->cx = 0;
 | 
						s->cx = 0;
 | 
				
			||||||
	s->cy = rupper;
 | 
						s->cy = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	s->rupper = rupper;
 | 
						s->rupper = rupper;
 | 
				
			||||||
	s->rlower = rlower;
 | 
						s->rlower = rlower;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user