Problem: When 'ttymouse' is set to "xterm2" clicking in column 123 moves
the cursor to column 96. (Kevin Goodsell)
Solution: Decode KE_CSI.
return -1;
if (buf[len++] == (int)KS_ZERO)
c = NUL;
- ++len; /* skip KE_FILLER */
- /* else it should be KS_SPECIAL, and c already equals K_SPECIAL */
+ /* else it should be KS_SPECIAL; when followed by KE_FILLER c is
+ * K_SPECIAL, or followed by KE_CSI and c must be CSI. */
+ if (buf[len++] == (int)KE_CSI)
+ c = CSI;
}
else if (c == CSI && buf[len] == KS_EXTRA
&& buf[len + 1] == (int)KE_CSI)
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1281,
/**/
1280,
/**/