diff options
Diffstat (limited to 'src/testdir/term_util.vim')
-rw-r--r-- | src/testdir/term_util.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/term_util.vim b/src/testdir/term_util.vim index cfc850ba00..8541ef353b 100644 --- a/src/testdir/term_util.vim +++ b/src/testdir/term_util.vim @@ -179,5 +179,9 @@ func Run_shell_in_terminal(options) return buf endfunc +" Return concatenated lines in terminal. +func Term_getlines(buf, lines) + return join(map(a:lines, 'term_getline(a:buf, v:val)'), '') +endfunc " vim: shiftwidth=2 sts=2 expandtab |