From 0e655111e9dbdbdf69fee1b199f2b9c355bf4a10 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 11 Sep 2020 20:36:36 +0200 Subject: patch 8.2.1662: :mksession does not restore shared terminal buffer properly Problem: :mksession does not restore shared terminal buffer properly. Solution: Keep a hashtab with terminal buffers. (Rob Pilling, closes #6930) --- src/hashtab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hashtab.c') diff --git a/src/hashtab.c b/src/hashtab.c index f114b28808..dc0cbb6b86 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 -- cgit v1.2.3