Mercurial > vim
changeset 11662:6ab627207f4c v8.0.0713
patch 8.0.0713: 'termkey' option not fully implemented
commit https://github.com/vim/vim/commit/0daf843b4cad734df6be16573423206eae43028b
Author: Bram Moolenaar <Bram@vim.org>
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 15 Jul 2017 15:30:03 +0200 |
parents | e2df50e0f6c9 |
children | 792badfededb |
files | src/option.c src/version.c |
diffstat | 2 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 }