diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-03-09 21:33:34 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-03-09 21:33:34 +0100 |
commit | 4d8bac8bf593ff087517ff79090c2d224325aae6 (patch) | |
tree | 51e277a9012731df3a3dc362af5c5db39991485a /src/proto/terminal.pro | |
parent | 20586cb4f4d516a60b96cc02a94b810fea8b8cdb (diff) |
patch 8.0.1592: terminal windows in a session are not properly restoredv8.0.1592
Problem: Terminal windows in a session are not properly restored.
Solution: Add "terminal" in 'sessionoptions'. When possible restore the
command running in a terminal.
Diffstat (limited to 'src/proto/terminal.pro')
-rw-r--r-- | src/proto/terminal.pro | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/proto/terminal.pro b/src/proto/terminal.pro index 9c29683324..aefa40d84d 100644 --- a/src/proto/terminal.pro +++ b/src/proto/terminal.pro @@ -1,5 +1,8 @@ /* terminal.c */ void ex_terminal(exarg_T *eap); +int term_write_session(FILE *fd, win_T *wp); +int term_should_restore(buf_T *buf); +void f_term_setrestore(typval_T *argvars, typval_T *rettv); void free_terminal(buf_T *buf); void write_to_term(buf_T *buffer, char_u *msg, channel_T *channel); int term_job_running(term_T *term); |