Benjamin R. Haskell wrote:

> This fixes the issue with mapping <C-MouseUp>/<C-MouseDown> for both
> rxvt-unicode and uxterm. -- Ben
> 
> ---
>  src/term.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/src/term.c b/src/term.c
> index 2e0376c..205cd35 100644
> --- a/src/term.c
> +++ b/src/term.c
> @@ -4763,6 +4763,8 @@ check_termcode(max_offset, buf, buflen)
>               modifiers |= MOD_MASK_SHIFT;
>           if (orig_mouse_code & MOUSE_CTRL)
>               modifiers |= MOD_MASK_CTRL;
> +         if (wheel_code & MOUSE_CTRL)
> +             modifiers |= MOD_MASK_CTRL;
>           if (orig_mouse_code & MOUSE_ALT)
>               modifiers |= MOD_MASK_ALT;
>           if (orig_num_clicks == 2)

Thanks, I'll include this.

Does this also work for ALT and SHIFT?  In my xterm these events don't
appear to arrive at all.

-- 
WOMAN:   Well, 'ow did you become king then?
ARTHUR:  The Lady of the Lake, [angels sing] her arm clad in the purest
         shimmering samite, held aloft Excalibur from the bosom of the water
         signifying by Divine Providence that I, Arthur, was to carry
         Excalibur.  [singing stops] That is why I am your king!
                                  The Quest for the Holy Grail (Monty Python)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui