Mercurial > vim
diff src/evalfunc.c @ 12007:64b822c4f7ae v8.0.0884
patch 8.0.0884: can't specify the wait time for term_wait()
commit https://github.com/vim/vim/commit/f3402b1b7f72d08e0357196902cce972b639bfd7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 6 19:07:08 2017 +0200
patch 8.0.0884: can't specify the wait time for term_wait()
Problem: Can't specify the wait time for term_wait().
Solution: Add an otional second argument.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 06 Aug 2017 19:15:05 +0200 |
parents | 6889f1f25d6b |
children | e1001274064f |
line wrap: on
line diff
--- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -843,7 +843,7 @@ static struct fst {"term_scrape", 2, 2, f_term_scrape}, {"term_sendkeys", 2, 2, f_term_sendkeys}, {"term_start", 1, 2, f_term_start}, - {"term_wait", 1, 1, f_term_wait}, + {"term_wait", 1, 2, f_term_wait}, #endif {"test_alloc_fail", 3, 3, f_test_alloc_fail}, {"test_autochdir", 0, 0, f_test_autochdir},