Hirohito Higashi wrote:

> Cannot change the terminal window height by dragging its statusline bar when 
> current window is terminal window. (GUI only)
> 
> Step to reproduce:
> - Run gui vim with term
>   $ vim -g --clean +term
> - Move up and down while dragging terminal window's statusline with mouse.
> 
> Expected behavior:
> - Window height changes.
> 
> Actual behavior:
> - Not changes. 
> 
> 
> I attached a patch.

Thanks.

> BTW, do we not need to add the following modes to the 'mouse' option?
>     t     Terminal-Job mode
> 
> if need to added, We will have to review the get_real_state() related code.
> if not, I think that it is necessary to modify the document like below.
> 
> diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
> index 28b5457..e7b1569 100644
> --- a/runtime/doc/options.txt
> +++ b/runtime/doc/options.txt
> @@ -5336,7 +5336,7 @@ A jump table for the options with a short description 
> can be found at |Q_op|.
>       sysmouse and Linux console with gpm).  For using the mouse in the
>       GUI, see |gui-mouse|.
>       The mouse can be enabled for different modes:
> -             n       Normal mode
> +             n       Normal mode, Terminal-Normal mode and Terminal-Job mode
>               v       Visual mode
>               i       Insert mode
>               c       Command-line mode

When there are more than a few windows, I may click in a window to move
focus.  If we would have a separate mouse mode for a terminal window
that may stop working.

I haven't seen the need for a different mouse mode in a terminal window.

-- 
ARTHUR:    Be quiet!  I order you to shut up.
OLD WOMAN: Order, eh -- who does he think he is?
ARTHUR:    I am your king!
OLD WOMAN: Well, I didn't vote for you.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui