summaryrefslogtreecommitdiffstats
path: root/input.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-11-24 19:29:56 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-11-24 19:29:56 +0000
commit5ad9b31ac5555d46832e1896feba92d1c41409d0 (patch)
treede0bae33162b7877d00d40ff81c1d0136b6a767d /input.c
parentb9034946adeb2ed03a1266431a27e2a24498c350 (diff)
Scroll region reset homes the cursor, so start at 0,0 when drawing. Also don't set region after DECRC.
Diffstat (limited to 'input.c')
-rw-r--r--input.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/input.c b/input.c
index 53f1be7b..d363703f 100644
--- a/input.c
+++ b/input.c
@@ -1,4 +1,4 @@
-/* $Id: input.c,v 1.36 2007-11-23 22:51:13 nicm Exp $ */
+/* $Id: input.c,v 1.37 2007-11-24 19:29:55 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -484,8 +484,6 @@ input_handle_private_two(u_char ch, struct input_ctx *ictx)
if (!screen_hidden(s)) {
input_store_two(
ictx->b, CODE_ATTRIBUTES, s->attr, s->colr);
- input_store_two(ictx->b, CODE_SCROLLREGION,
- s->rupper + 1, s->rlower + 1);
input_store_two(
ictx->b, CODE_CURSORMOVE, s->cy + 1, s->cx + 1);
}