summaryrefslogtreecommitdiffstats
path: root/src/proto/terminal.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-09-11 20:36:36 +0200
committerBram Moolenaar <Bram@vim.org>2020-09-11 20:36:36 +0200
commit0e655111e9dbdbdf69fee1b199f2b9c355bf4a10 (patch)
tree8c34c0088f48c5687c1ab49a6cebfe35d1a925db /src/proto/terminal.pro
parentc6a67c92bcbf4ef09063814af0c65d3e0585ada0 (diff)
patch 8.2.1662: :mksession does not restore shared terminal buffer properlyv8.2.1662
Problem: :mksession does not restore shared terminal buffer properly. Solution: Keep a hashtab with terminal buffers. (Rob Pilling, closes #6930)
Diffstat (limited to 'src/proto/terminal.pro')
-rw-r--r--src/proto/terminal.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/terminal.pro b/src/proto/terminal.pro
index e8760d14a7..f3bd5a31c7 100644
--- a/src/proto/terminal.pro
+++ b/src/proto/terminal.pro
@@ -2,7 +2,7 @@
void init_job_options(jobopt_T *opt);
buf_T *term_start(typval_T *argvar, char **argv, jobopt_T *opt, int flags);
void ex_terminal(exarg_T *eap);
-int term_write_session(FILE *fd, win_T *wp);
+int term_write_session(FILE *fd, win_T *wp, hashtab_T *terminal_bufs);
int term_should_restore(buf_T *buf);
void free_terminal(buf_T *buf);
void free_unused_terminals(void);