=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/input.c,v retrieving revision 1.54 retrieving revision 1.55 diff -u -r1.54 -r1.55 --- src/usr.bin/tmux/input.c 2012/09/25 07:41:22 1.54 +++ src/usr.bin/tmux/input.c 2012/11/27 20:08:42 1.55 @@ -1,4 +1,4 @@ -/* $OpenBSD: input.c,v 1.54 2012/09/25 07:41:22 nicm Exp $ */ +/* $OpenBSD: input.c,v 1.55 2012/11/27 20:08:42 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -1255,8 +1255,12 @@ case 1005: screen_write_utf8mousemode(&ictx->ctx, 0); break; + case 47: + case 1047: + window_pane_alternate_off(wp, &ictx->cell, 0); + break; case 1049: - window_pane_alternate_off(wp, &ictx->cell); + window_pane_alternate_off(wp, &ictx->cell, 1); break; case 2004: screen_write_bracketpaste(&ictx->ctx, 0); @@ -1310,8 +1314,12 @@ case 1005: screen_write_utf8mousemode(&ictx->ctx, 1); break; + case 47: + case 1047: + window_pane_alternate_on(wp, &ictx->cell, 0); + break; case 1049: - window_pane_alternate_on(wp, &ictx->cell); + window_pane_alternate_on(wp, &ictx->cell, 1); break; case 2004: screen_write_bracketpaste(&ictx->ctx, 1);