Skip to content

Commit

Permalink
updated for version 7.3.1281
Browse files Browse the repository at this point in the history
Problem:    When 'ttymouse' is set to "xterm2" clicking in column 123 moves
            the cursor to column 96. (Kevin Goodsell)
Solution:   Decode KE_CSI.
  • Loading branch information
brammool committed Jul 1, 2013
1 parent d05bf56 commit 0e710d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/term.c
Expand Up @@ -2947,8 +2947,10 @@ get_bytes_from_buf(buf, bytes, num_bytes)
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)
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -728,6 +728,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1281,
/**/
1280,
/**/
Expand Down

0 comments on commit 0e710d6

Please sign in to comment.