Hi Bram,
On Sun, Mar 15, 2020 at 8:14 AM Bram Moolenaar <[email protected]> wrote:
>
> Patch 8.2.0385
> Problem: Menu functionality insufficiently tested.
> Solution: Add tests. Add menu_info(). (Yegappan Lakshmanan, closes
> #5760)
> Files: runtime/doc/eval.txt, runtime/doc/gui.txt,
> runtime/doc/usr_41.txt,
> src/evalfunc.c, src/menu.c, src/proto/menu.pro,
> src/testdir/test_menu.vim, src/testdir/test_popup.vim,
> src/testdir/test_termcodes.vim
>
>
> *** ../vim-8.2.0384/src/evalfunc.c 2020-03-01 20:33:57.175639667 +0100
> --- src/evalfunc.c 2020-03-15 16:00:11.482894787 +0100
> ***************
> *** 2469,2475 ****
> if (lowlevel)
> {
> #ifdef USE_INPUT_BUF
> ! add_to_input_buf(keys, (int)STRLEN(keys));
> #else
> emsg(_("E980: lowlevel input not supported"));
> #endif
> --- 2470,2486 ----
> if (lowlevel)
> {
> #ifdef USE_INPUT_BUF
> ! int idx;
> ! int len = (int)STRLEN(keys);
> !
> ! for (idx = 0; idx < len; ++idx)
> ! {
> ! // if a CTRL-C was typed, set got_int
> ! if (keys[idx] == 3 && ctrl_c_interrupts)
> ! got_int = TRUE;
> ! else
> ! add_to_input_buf(keys + idx, 1);
> ! }
> #else
> emsg(_("E980: lowlevel input not supported"));
> #endif
>
>
The above change was not present in my PR. It looks like this got
included by accident from your workspace?
- Yegappan
--
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/CAAW7x7%3DBP1yqv8U662wYxtwbv-x8BQ4gCi_FrMLh0Gnu%2BPJudw%40mail.gmail.com.