Mercurial > vim
diff src/proto/terminal.pro @ 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 | 504df4aa84c6 |
line wrap: on
line diff
--- a/src/proto/terminal.pro +++ b/src/proto/terminal.pro @@ -17,6 +17,7 @@ void term_change_in_curbuf(void); int term_get_attr(buf_T *buf, linenr_T lnum, int col); char_u *term_get_status_text(term_T *term); int set_ref_in_term(int copyID); +void f_term_getaltscreen(typval_T *argvars, typval_T *rettv); void f_term_getattr(typval_T *argvars, typval_T *rettv); void f_term_getcursor(typval_T *argvars, typval_T *rettv); void f_term_getjob(typval_T *argvars, typval_T *rettv);