diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-09-26 07:34:12 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-09-26 07:34:12 +0000 |
commit | 93aa3f3c213ca308e0834fb88e804a9966d1ccb8 (patch) | |
tree | a2fb571b4802b892cddcfaae36bc26e2a7693b3c /input.c | |
parent | 2a5d09f2f5f7e4dfcef039f0b59d9cf4beac2f3f (diff) |
Make RIS also reset scroll region.
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: input.c,v 1.60 2008-09-26 06:45:26 nicm Exp $ */ +/* $Id: input.c,v 1.61 2008-09-26 07:34:12 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -657,6 +657,9 @@ input_handle_standard_two(u_char ch, struct input_ctx *ictx) ictx->saved_cx = 0; ictx->saved_cy = 0; + screen_write_scrollregion( + &ictx->ctx, 0, screen_size_y(ictx->ctx.s) - 1); + screen_write_insertmode(&ictx->ctx, 0); screen_write_kcursormode(&ictx->ctx, 0); screen_write_kkeypadmode(&ictx->ctx, 0); |