Yegappan wrote:

> On Mon, Feb 6, 2017 at 1:23 PM, Bram Moolenaar <[email protected]> wrote:
> >
> > Yegappan wrote:
> >
> >> I am attaching a patch to add tests for the getcmdtype(), getcmdpos()
> >> and getcmdline() functions.
> >
> > Thanks!
> >
> > There appears to be a one second delay in this test somewhere.
> > Can't quite see where it happens.
> >
> 
> There is no hard-coded one second delay in the test. It looks like cancelling
> the input() prompt with <Esc> causes the delay. I have changed <Esc> to
> CTRL-C to cancel the prompt. The patch is attached.

That helps, thanks.

-- 
ARTHUR: It is I, Arthur, son of Uther Pendragon, from the castle of Camelot.
        King of all Britons, defeator of the Saxons, sovereign of all England!
   [Pause]
SOLDIER: Get away!
                 "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