diff src/evalfunc.c @ 12025:c0ee48f48a2b v8.0.0893

patch 8.0.0893: cannot get the scroll count of a terminal window commit https://github.com/vim/vim/commit/82b9ca05f40a627355e7c3bcf49b1f19ffbdaf87 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 8 23:06:46 2017 +0200 patch 8.0.0893: cannot get the scroll count of a terminal window Problem: Cannot get the scroll count of a terminal window. Solution: Add term_getscrolled().
author Christian Brabandt <cb@256bit.org>
date Tue, 08 Aug 2017 23:15:04 +0200
parents e1001274064f
children a3ed3d236839
line wrap: on
line diff
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -835,6 +835,7 @@ static struct fst
     {"term_getcursor",	1, 1, f_term_getcursor},
     {"term_getjob",	1, 1, f_term_getjob},
     {"term_getline",	2, 2, f_term_getline},
+    {"term_getscrolled", 1, 1, f_term_getscrolled},
     {"term_getsize",	1, 1, f_term_getsize},
     {"term_getstatus",	1, 1, f_term_getstatus},
     {"term_gettitle",	1, 1, f_term_gettitle},