Mercurial > vim
diff src/evalfunc.c @ 11874:d444e087b8fd v8.0.0817
patch 8.0.0817: cannot get the terminal line at the cursor
commit https://github.com/vim/vim/commit/22aad2f8806acf390568b8e524e53260a322aaa5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 30 18:19:46 2017 +0200
patch 8.0.0817: cannot get the terminal line at the cursor
Problem: Cannot get the line of a terminal window at the cursor.
Solution: Make the row argunt optionsl. (Yasuhiro Matsumoto, closes https://github.com/vim/vim/issues/1898)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 30 Jul 2017 18:30:04 +0200 |
parents | f5968ca369b5 |
children | 3704ca24c9a2 |
line wrap: on
line diff
--- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -833,10 +833,10 @@ static struct fst #ifdef FEAT_TERMINAL {"term_getattr", 2, 2, f_term_getattr}, {"term_getjob", 1, 1, f_term_getjob}, - {"term_getline", 2, 2, f_term_getline}, + {"term_getline", 1, 2, f_term_getline}, {"term_getsize", 1, 1, f_term_getsize}, {"term_list", 0, 0, f_term_list}, - {"term_scrape", 2, 2, f_term_scrape}, + {"term_scrape", 1, 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},