summaryrefslogtreecommitdiffstats
path: root/src/evalfunc.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-07-30 18:19:46 +0200
committerBram Moolenaar <Bram@vim.org>2017-07-30 18:19:46 +0200
commit22aad2f8806acf390568b8e524e53260a322aaa5 (patch)
treed343828b8d65e5675816fa7c1e6f46670014b475 /src/evalfunc.c
parentf144a3fb73340fe22e08bd1fa77e27c9f55bb0af (diff)
patch 8.0.0817: cannot get the terminal line at the cursorv8.0.0817
Problem: Cannot get the line of a terminal window at the cursor. Solution: Make the row argunt optionsl. (Yasuhiro Matsumoto, closes #1898)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r--src/evalfunc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 7a2e4aad59..f1de7e5c35 100644
--- 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},