# HG changeset patch # User Christian Brabandt # Date 1500125403 -7200 # Node ID 6ab627207f4ca09925bfb6aa548b2ee03cdcf939 # Parent e2df50e0f6c9dcd066b9340f13f31a990926dfd7 patch 8.0.0713: 'termkey' option not fully implemented commit https://github.com/vim/vim/commit/0daf843b4cad734df6be16573423206eae43028b Author: Bram Moolenaar Date: Sat Jul 15 15:16:40 2017 +0200 patch 8.0.0713: 'termkey' option not fully implemented Problem: 'termkey' option not fully implemented. Solution: Add initialisation. diff --git a/src/option.c b/src/option.c --- a/src/option.c +++ b/src/option.c @@ -10901,6 +10901,7 @@ copy_winopt(winopt_T *from, winopt_T *to to->wo_cole = from->wo_cole; #endif #ifdef FEAT_TERMINAL + to->wo_tk = vim_strsave(from->wo_tk); to->wo_tms = vim_strsave(from->wo_tms); #endif #ifdef FEAT_FOLDING @@ -10970,6 +10971,7 @@ check_winopt(winopt_T *wop UNUSED) check_string_option(&wop->wo_cocu); #endif #ifdef FEAT_TERMINAL + check_string_option(&wop->wo_tk); check_string_option(&wop->wo_tms); #endif #ifdef FEAT_LINEBREAK @@ -11012,6 +11014,7 @@ clear_winopt(winopt_T *wop UNUSED) clear_string_option(&wop->wo_cocu); #endif #ifdef FEAT_TERMINAL + clear_string_option(&wop->wo_tk); clear_string_option(&wop->wo_tms); #endif } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 713, +/**/ 712, /**/ 711,