Mercurial > vim
diff src/eval.c @ 12273:c952a6af25e0 v8.0.1016
patch 8.0.1016: gnome terminal echoes t_RC
commit https://github.com/vim/vim/commit/f3af54eeb1575618b866aa837e7aca7665aca196
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 30 14:53:06 2017 +0200
patch 8.0.1016: gnome terminal echoes t_RC
Problem: Gnome terminal echoes t_RC.
Solution: Detect Gnome terminal by the version string. Add v: variables for
all the term responses.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 30 Aug 2017 15:00:05 +0200 |
parents | aec3df2af27c |
children | 68d7bc045dbe |
line wrap: on
line diff
--- a/src/eval.c +++ b/src/eval.c @@ -187,6 +187,10 @@ static struct vimvar {VV_NAME("t_none", VAR_NUMBER), VV_RO}, {VV_NAME("t_job", VAR_NUMBER), VV_RO}, {VV_NAME("t_channel", VAR_NUMBER), VV_RO}, + {VV_NAME("termrgbresp", VAR_STRING), VV_RO}, + {VV_NAME("termu7resp", VAR_STRING), VV_RO}, + {VV_NAME("termstyleresp", VAR_STRING), VV_RO}, + {VV_NAME("termblinkresp", VAR_STRING), VV_RO}, }; /* shorthand */