Mercurial > vim
diff src/proto/terminal.pro @ 13298:a88c5e12b860 v8.0.1523
patch 8.0.1523: cannot write and read terminal screendumps
commit https://github.com/vim/vim/commit/d96ff165113ce5fe62107add590997660e3d4802
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 18 22:13:29 2018 +0100
patch 8.0.1523: cannot write and read terminal screendumps
Problem: Cannot write and read terminal screendumps.
Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff().
Also add assert_equalfile().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 18 Feb 2018 22:15:06 +0100 |
parents | 418941f0df08 |
children | fa198b71bab2 |
line wrap: on
line diff
--- a/src/proto/terminal.pro +++ b/src/proto/terminal.pro @@ -21,6 +21,10 @@ int term_get_attr(buf_T *buf, linenr_T l char_u *term_get_status_text(term_T *term); int set_ref_in_term(int copyID); void set_terminal_default_colors(int cterm_fg, int cterm_bg); +void f_term_dumpwrite(typval_T *argvars, typval_T *rettv); +int term_swap_diff(void); +void f_term_dumpdiff(typval_T *argvars, typval_T *rettv); +void f_term_dumpload(typval_T *argvars, typval_T *rettv); 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);