summaryrefslogtreecommitdiff
path: root/src/evalfunc.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-08-11 16:24:50 +0200
committerBram Moolenaar <Bram@vim.org>2017-08-11 16:24:50 +0200
commite41e3b41f991bd610f889dea57676526704fea5f (patch)
treebfe0901e8daf63928bae6458eb9b4c319c027c05 /src/evalfunc.c
parentf1237f18143d9fe5b2a6ce981dee415736858789 (diff)
downloadvim-git-e41e3b41f991bd610f889dea57676526704fea5f.tar.gz
patch 8.0.0898: can't use the alternate screen in a terminal windowv8.0.0898
Problem: Can't use the alternate screen in a terminal window. Solution: Initialze the alternate screen. (Yasuhiro Matsumoto, closes #1957) Add term_getaltscreen().
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r--src/evalfunc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c
index b5880c58d..6cb0ed7d7 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -831,6 +831,7 @@ static struct fst
#endif
{"tempname", 0, 0, f_tempname},
#ifdef FEAT_TERMINAL
+ {"term_getaltscreen", 1, 1, f_term_getaltscreen},
{"term_getattr", 2, 2, f_term_getattr},
{"term_getcursor", 1, 1, f_term_getcursor},
{"term_getjob", 1, 1, f_term_getjob},