=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/input.c,v retrieving revision 1.49 retrieving revision 1.50 diff -c -r1.49 -r1.50 *** src/usr.bin/tmux/input.c 2012/03/03 09:43:22 1.49 --- src/usr.bin/tmux/input.c 2012/03/15 10:05:49 1.50 *************** *** 1,4 **** ! /* $OpenBSD: input.c,v 1.49 2012/03/03 09:43:22 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: input.c,v 1.50 2012/03/15 10:05:49 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 127,132 **** --- 127,133 ---- INPUT_CSI_CUP, INPUT_CSI_CUU, INPUT_CSI_DA, + INPUT_CSI_DA_TWO, INPUT_CSI_DCH, INPUT_CSI_DECSCUSR, INPUT_CSI_DECSTBM, *************** *** 166,171 **** --- 167,173 ---- { 'P', "", INPUT_CSI_DCH }, { 'Z', "", INPUT_CSI_CBT }, { 'c', "", INPUT_CSI_DA }, + { 'c', ">", INPUT_CSI_DA_TWO }, { 'd', "", INPUT_CSI_VPA }, { 'f', "", INPUT_CSI_CUP }, { 'g', "", INPUT_CSI_TBC }, *************** *** 1091,1096 **** --- 1093,1108 ---- switch (input_get(ictx, 0, 0, 0)) { case 0: input_reply(ictx, "\033[?1;2c"); + break; + default: + log_debug("%s: unknown '%c'", __func__, ictx->ch); + break; + } + break; + case INPUT_CSI_DA_TWO: + switch (input_get(ictx, 0, 0, 0)) { + case 0: + input_reply(ictx, "\033[>0;95;0c"); break; default: log_debug("%s: unknown '%c'", __func__, ictx->ch);