=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/input.c,v retrieving revision 1.44 retrieving revision 1.45 diff -c -r1.44 -r1.45 *** src/usr.bin/tmux/input.c 2012/01/20 19:15:40 1.44 --- src/usr.bin/tmux/input.c 2012/01/21 08:10:21 1.45 *************** *** 1,4 **** ! /* $OpenBSD: input.c,v 1.44 2012/01/20 19:15:40 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: input.c,v 1.45 2012/01/21 08:10:21 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 978,994 **** ictx->old_cx = 0; ictx->old_cy = 0; ! screen_reset_tabs(sctx->s); ! ! screen_write_scrollregion(sctx, 0, screen_size_y(sctx->s) - 1); ! ! screen_write_insertmode(sctx, 0); ! screen_write_kcursormode(sctx, 0); ! screen_write_kkeypadmode(sctx, 0); ! screen_write_mousemode_off(sctx); ! ! screen_write_clearscreen(sctx); ! screen_write_cursormove(sctx, 0, 0); break; case INPUT_ESC_IND: screen_write_linefeed(sctx, 0); --- 978,984 ---- ictx->old_cx = 0; ictx->old_cy = 0; ! screen_write_reset(sctx->s); break; case INPUT_ESC_IND: screen_write_linefeed(sctx, 0);