mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 01:18:52 +00:00
CSR resets the cursor to the top-left. Reported by merdely.
This commit is contained in:
parent
0402ef2e31
commit
8a6a7e74da
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user