Mercurial > vim
diff src/evalfunc.c @ 12035:a3ed3d236839 v8.0.0898
patch 8.0.0898: can't use the alternate screen in a terminal window
commit https://github.com/vim/vim/commit/e41e3b41f991bd610f889dea57676526704fea5f
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Aug 11 16:24:50 2017 +0200
patch 8.0.0898: can't use the alternate screen in a terminal window
Problem: Can't use the alternate screen in a terminal window.
Solution: Initialze the alternate screen. (Yasuhiro Matsumoto, closes
#1957) Add term_getaltscreen().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 11 Aug 2017 16:30:04 +0200 |
parents | c0ee48f48a2b |
children | 0498547dace0 |
line wrap: on
line diff
--- 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},