=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/input.c,v retrieving revision 1.16 retrieving revision 1.17 diff -c -r1.16 -r1.17 *** src/usr.bin/tmux/input.c 2009/10/12 16:59:55 1.16 --- src/usr.bin/tmux/input.c 2009/10/13 15:23:13 1.17 *************** *** 1,4 **** ! /* $OpenBSD: input.c,v 1.16 2009/10/12 16:59:55 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: input.c,v 1.17 2009/10/13 15:23:13 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 1185,1190 **** --- 1185,1194 ---- screen_write_kcursormode(&ictx->ctx, 1); log_debug("kcursor on"); break; + case 3: /* DECCOLM */ + screen_write_cursormove(&ictx->ctx, 0, 0); + screen_write_clearscreen(&ictx->ctx); + break; case 25: /* TCEM */ screen_write_cursormode(&ictx->ctx, 1); log_debug("cursor on"); *************** *** 1256,1261 **** --- 1260,1269 ---- case 1: /* GATM */ screen_write_kcursormode(&ictx->ctx, 0); log_debug("kcursor off"); + break; + case 3: /* DECCOLM */ + screen_write_cursormove(&ictx->ctx, 0, 0); + screen_write_clearscreen(&ictx->ctx); break; case 25: /* TCEM */ screen_write_cursormode(&ictx->ctx, 0);