]> granicus.if.org Git - vim/commitdiff
patch 8.0.0713: 'termkey' option not fully implemented v8.0.0713
authorBram Moolenaar <Bram@vim.org>
Sat, 15 Jul 2017 13:16:40 +0000 (15:16 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 15 Jul 2017 13:16:40 +0000 (15:16 +0200)
Problem:    'termkey' option not fully implemented.
Solution:   Add initialisation.

src/option.c
src/version.c

index 82b34dc06c4be05bedb9c000be75e46eef24978f..39aef6eda6e2c6faffec33b412d0d2a9694e793a 100644 (file)
@@ -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
 }
index 5080e2c84c2c0eb2bb66ea745e4af0ef77c6b951..3640592c11a9694389b6276c79c8a8b5942f4e0e 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    713,
 /**/
     712,
 /**/