Mercurial > vim
view src/proto/digraph.pro @ 13990:017c5462ed5e v8.1.0013
patch 8.1.0013: using freed memory when changing terminal cursor color
commit https://github.com/vim/vim/commit/4f7fd56b423245786f223a370c6fbfc12e3f37eb
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon May 21 14:55:28 2018 +0200
patch 8.1.0013: using freed memory when changing terminal cursor color
Problem: Using freed memory when changing terminal cursor color.
Solution: Make a copy of the color. (Dominique Pelle, closes https://github.com/vim/vim/issues/2938,
closes #2941)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 21 May 2018 15:00:07 +0200 |
parents | 81c348d40312 |
children | 3e9b24eac417 |
line wrap: on
line source
/* digraph.c */ int do_digraph(int c); char_u *get_digraph_for_char(int val); int get_digraph(int cmdline); int getdigraph(int char1, int char2, int meta_char); void putdigraph(char_u *str); void listdigraphs(void); char_u *keymap_init(void); void ex_loadkeymap(exarg_T *eap); void keymap_clear(garray_T *kmap); /* vim: set ft=c : */