repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: c313dd8e312f7f8e48bb6f869cce4db093d83bc0:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit c313dd8e312f7f8e48bb6f869cce4db093d83bc0
Author: Marc Lehmann 
Date:   Tue Jan 24 18:57:33 2006 +0000

    *** empty log message ***

diff --git a/src/command.C b/src/command.C
index 638737eb09d8399ced264bc219ea6bdaa3efc97d..
index ..3dbbaf883719b6b91d3810325a085a939d40658f 100644
--- a/src/command.C
+++ b/src/command.C
@@ -3310,7 +3310,16 @@ rxvt_term::process_csi_seq ()
         {
           case '>':
             if (ch == CSI_DA)	/* secondary device attributes */
-              tt_printf ("\033[>%d;%c%c;0c", 'U', VERSION[0], VERSION[2]);
+              {
+                // first parameter is normally 0 for vt100, 1 for some newer vtxxx, 'R' for rxvt,
+                // 'U' for rxvt-unicode <= 7.2, and Mm85 (e.g. 7385 for 7.3) for later versions.
+                //
+                // second parameter is xterm patch level for xterm, MMmmpp (e.g. 20703) for rxvt
+                // and Mm (e.g. 72 for 7.2) for urxvt <= 7.2, and 94 for later versions, to signify
+                // that we do not support xterm mouse reporting (should be 95 when we do).
+                //
+                tt_printf ("\033[>%c%c85;94;0c", VERSION[0], VERSION[1]);
+              }
             break;
           case '?':
             if (ch == 'h' || ch == 'l' || ch == 'r' || ch == 's' || ch == 't')

-----END OF PAGE-----