diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-11 20:36:36 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-11 20:36:36 +0200 |
commit | 0e655111e9dbdbdf69fee1b199f2b9c355bf4a10 (patch) | |
tree | 8c34c0088f48c5687c1ab49a6cebfe35d1a925db /src/hashtab.c | |
parent | c6a67c92bcbf4ef09063814af0c65d3e0585ada0 (diff) | |
download | vim-git-0e655111e9dbdbdf69fee1b199f2b9c355bf4a10.tar.gz |
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/hashtab.c')
-rw-r--r-- | src/hashtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hashtab.c b/src/hashtab.c index f114b2880..dc0cbb6b8 100644 --- a/src/hashtab.c +++ b/src/hashtab.c @@ -81,7 +81,7 @@ hash_clear(hashtab_T *ht) vim_free(ht->ht_array); } -#if defined(FEAT_SPELL) || defined(PROTO) +#if defined(FEAT_SPELL) || defined(FEAT_TERMINAL) || defined(PROTO) /* * Free the array of a hash table and all the keys it contains. The keys must * have been allocated. "off" is the offset from the start of the allocate |