mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-27 10:33:09 +01:00
Make RIS also reset scroll region.
This commit is contained in:
parent
2a5d09f2f5
commit
93aa3f3c21
5
input.c
5
input.c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user