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/option.h | |
parent | 20586cb4f4d516a60b96cc02a94b810fea8b8cdb (diff) | |
download | vim-git-4d8bac8bf593ff087517ff79090c2d224325aae6.tar.gz |
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/option.h')
-rw-r--r-- | src/option.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/option.h b/src/option.h index d408a2d07..09c044ecd 100644 --- a/src/option.h +++ b/src/option.h @@ -751,7 +751,7 @@ EXTERN unsigned ssop_flags; /* Also used for 'viewoptions'! */ static char *(p_ssop_values[]) = {"buffers", "winpos", "resize", "winsize", "localoptions", "options", "help", "blank", "globals", "slash", "unix", - "sesdir", "curdir", "folds", "cursor", "tabpages", NULL}; + "sesdir", "curdir", "folds", "cursor", "tabpages", "terminal", NULL}; # endif # define SSOP_BUFFERS 0x001 # define SSOP_WINPOS 0x002 @@ -769,6 +769,7 @@ static char *(p_ssop_values[]) = {"buffers", "winpos", "resize", "winsize", # define SSOP_FOLDS 0x2000 # define SSOP_CURSOR 0x4000 # define SSOP_TABPAGES 0x8000 +# define SSOP_TERMINAL 0x10000 #endif EXTERN char_u *p_sh; /* 'shell' */ EXTERN char_u *p_shcf; /* 'shellcmdflag' */ |