Mercurial > vim
diff src/misc2.c @ 3746:44038a9777aa v7.3.632
updated for version 7.3.632
Problem: Cannot select beyond 222 columns with the mouse in xterm.
Solution: Add support for SGR mouse tracking. (Hayaki Saito)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 15 Aug 2012 16:21:32 +0200 |
parents | 99f076ca8d84 |
children | 2c12cd5c1381 |
line wrap: on
line diff
--- a/src/misc2.c +++ b/src/misc2.c @@ -2433,6 +2433,9 @@ static struct key_name_entry #ifdef FEAT_MOUSE_URXVT {K_URXVT_MOUSE, (char_u *)"UrxvtMouse"}, #endif +#ifdef FEAT_MOUSE_SGR + {K_SGR_MOUSE, (char_u *)"SgrMouse"}, +#endif {K_LEFTMOUSE, (char_u *)"LeftMouse"}, {K_LEFTMOUSE_NM, (char_u *)"LeftMouseNM"}, {K_LEFTDRAG, (char_u *)"LeftDrag"},