Bram Moolenaar <> wrote:

> Patch 8.0.0873
> Problem:    In a terminal window cannot use CTRL-\ CTRL-N to start Visual
>             mode.
> Solution:   After CTRL-\ CTRL-N enter Terminal-Normal mode for one command.
> Files:      src/main.c, src/terminal.c, src/proto/

This patch is causing a compilation error when
I configure vim with:

$ ./configure --with-features=huge --enable-gui=none
--enable-terminal --enable-python3interp
$ make
normal.c: In function 'nv_mousescroll':
normal.c:4642:6: error: too few arguments to function 'term_use_loop'
  if (term_use_loop())
In file included from proto.h:167:0,
                 from vim.h:2119,
                 from normal.c:15:
proto/ note: declared here
 int term_use_loop(int once);

I suppose that it should be fixed like this:

diff --git a/src/normal.c b/src/normal.c
index 25ab2d3..88f604d 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -4639,7 +4639,7 @@ nv_mousescroll(cmdarg_T *cap)
     if (cap->arg == MSCR_UP || cap->arg == MSCR_DOWN)
-       if (term_use_loop())
+       if (term_use_loop(FALSE))
            send_keys_to_term(curbuf->b_term, cap->cmdchar, TRUE);
 # endif


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

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 
For more options, visit

Raspunde prin e-mail lui