Revision: 2732
http://tmux.svn.sourceforge.net/tmux/?rev=2732&view=rev
Author: tcunha
Date: 2012-03-18 01:48:04 +0000 (Sun, 18 Mar 2012)
Log Message:
-----------
Sync OpenBSD patchset 1053:
Respond to secondary DA requests.
Modified Paths:
--------------
trunk/input.c
Modified: trunk/input.c
===================================================================
--- trunk/input.c 2012-03-18 01:47:11 UTC (rev 2731)
+++ trunk/input.c 2012-03-18 01:48:04 UTC (rev 2732)
@@ -127,6 +127,7 @@
INPUT_CSI_CUP,
INPUT_CSI_CUU,
INPUT_CSI_DA,
+ INPUT_CSI_DA_TWO,
INPUT_CSI_DCH,
INPUT_CSI_DECSCUSR,
INPUT_CSI_DECSTBM,
@@ -166,6 +167,7 @@
{ '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 },
@@ -1097,6 +1099,16 @@
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);
+ break;
+ }
+ break;
case INPUT_CSI_DCH:
screen_write_deletecharacter(sctx, input_get(ictx, 0, 1, 1));
break;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs