Mercurial > vim
comparison src/proto/term.pro @ 18301:506bf60a30a0 v8.1.2145
patch 8.1.2145: cannot map <C-H> when modifyOtherKeys is enabled
Commit: https://github.com/vim/vim/commit/459fd785e4a8d044147a3f83a5fca8748528aa84
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 13 16:43:39 2019 +0200
patch 8.1.2145: cannot map <C-H> when modifyOtherKeys is enabled
Problem: Cannot map <C-H> when modifyOtherKeys is enabled.
Solution: Add the <C-H> mapping twice, both with modifier and as 0x08. Use
only the first one when modifyOtherKeys has been detected.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Oct 2019 16:45:04 +0200 |
parents | 0ec6521e9d80 |
children | fd95d4dbeb37 |
comparison
equal
deleted
inserted
replaced
18300:e502ed410b63 | 18301:506bf60a30a0 |
---|---|
65 void set_mouse_topline(win_T *wp); | 65 void set_mouse_topline(win_T *wp); |
66 int is_mouse_topline(win_T *wp); | 66 int is_mouse_topline(win_T *wp); |
67 int check_termcode(int max_offset, char_u *buf, int bufsize, int *buflen); | 67 int check_termcode(int max_offset, char_u *buf, int bufsize, int *buflen); |
68 void term_get_fg_color(char_u *r, char_u *g, char_u *b); | 68 void term_get_fg_color(char_u *r, char_u *g, char_u *b); |
69 void term_get_bg_color(char_u *r, char_u *g, char_u *b); | 69 void term_get_bg_color(char_u *r, char_u *g, char_u *b); |
70 char_u *replace_termcodes(char_u *from, char_u **bufp, int from_part, int do_lt, int special); | 70 char_u *replace_termcodes(char_u *from, char_u **bufp, int flags, int *did_simplify); |
71 void show_termcodes(void); | 71 void show_termcodes(void); |
72 int show_one_termcode(char_u *name, char_u *code, int printit); | 72 int show_one_termcode(char_u *name, char_u *code, int printit); |
73 char_u *translate_mapping(char_u *str); | 73 char_u *translate_mapping(char_u *str); |
74 void update_tcap(int attr); | 74 void update_tcap(int attr); |
75 void swap_tcap(void); | 75 void swap_tcap(void); |