diff options
Diffstat (limited to 'usr.bin/tmux/input.c')
-rw-r--r-- | usr.bin/tmux/input.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c index f44e2d45fe3..18ca0cd7ffe 100644 --- a/usr.bin/tmux/input.c +++ b/usr.bin/tmux/input.c @@ -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 <nicm@users.sourceforge.net> @@ -1255,8 +1255,12 @@ input_csi_dispatch(struct input_ctx *ictx) 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 @@ input_csi_dispatch(struct input_ctx *ictx) 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); |