aboutsummaryrefslogtreecommitdiff
path: root/screen-write.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-03-05 20:27:51 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-03-05 20:27:51 +0000
commit8a6a7e74da70400cc98e7596c7d9d19848ca3aa1 (patch)
tree6b2f6187e521897ccbcfa87e2b2f10b3ed57b003 /screen-write.c
parent0402ef2e317f04f32e2117a0e9a72c062d9f54fb (diff)
downloadrtmux-8a6a7e74da70400cc98e7596c7d9d19848ca3aa1.tar.gz
rtmux-8a6a7e74da70400cc98e7596c7d9d19848ca3aa1.tar.bz2
rtmux-8a6a7e74da70400cc98e7596c7d9d19848ca3aa1.zip
CSR resets the cursor to the top-left. Reported by merdely.
Diffstat (limited to 'screen-write.c')
-rw-r--r--screen-write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/screen-write.c b/screen-write.c
index 0ac07e32..0d009d7e 100644
--- a/screen-write.c
+++ b/screen-write.c
@@ -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>
@@ -379,7 +379,7 @@ screen_write_scrollregion(
/* Cursor moves to top-left. */
s->cx = 0;
- s->cy = rupper;
+ s->cy = 0;
s->rupper = rupper;
s->rlower = rlower;