From e41e3b41f991bd610f889dea57676526704fea5f Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 11 Aug 2017 16:24:50 +0200 Subject: 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(). --- src/proto/terminal.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'src/proto/terminal.pro') diff --git a/src/proto/terminal.pro b/src/proto/terminal.pro index 7b28c2862..a004d355e 100644 --- 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); -- cgit v1.2.1