Mercurial > vim
comparison src/libvterm/include/vterm_keycodes.h @ 13531:9f857e6310b6 v8.0.1639
patch 8.0.1639: libvterm code lags behind master
commit https://github.com/vim/vim/commit/b5b49a3b430ea0aaf8cce6b7bc0e444f0211ddfb
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 25 16:20:37 2018 +0200
patch 8.0.1639: libvterm code lags behind master
Problem: Libvterm code lags behind master.
Solution: Sync to head, solve merge problems.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 25 Mar 2018 16:30:06 +0200 |
parents | 8412df1479a3 |
children | 2449b6ce1456 |
comparison
equal
deleted
inserted
replaced
13530:28031e9f0da4 | 13531:9f857e6310b6 |
---|---|
3 | 3 |
4 typedef enum { | 4 typedef enum { |
5 VTERM_MOD_NONE = 0x00, | 5 VTERM_MOD_NONE = 0x00, |
6 VTERM_MOD_SHIFT = 0x01, | 6 VTERM_MOD_SHIFT = 0x01, |
7 VTERM_MOD_ALT = 0x02, | 7 VTERM_MOD_ALT = 0x02, |
8 VTERM_MOD_CTRL = 0x04 | 8 VTERM_MOD_CTRL = 0x04, |
9 | |
10 VTERM_ALL_MODS_MASK = 0x07 | |
9 } VTermModifier; | 11 } VTermModifier; |
10 | 12 |
11 /* The order here must match keycodes[] in src/keyboard.c! */ | 13 /* The order here must match keycodes[] in src/keyboard.c! */ |
12 typedef enum { | 14 typedef enum { |
13 VTERM_KEY_NONE, | 15 VTERM_KEY_NONE, |
51 VTERM_KEY_KP_PERIOD, | 53 VTERM_KEY_KP_PERIOD, |
52 VTERM_KEY_KP_DIVIDE, | 54 VTERM_KEY_KP_DIVIDE, |
53 VTERM_KEY_KP_ENTER, | 55 VTERM_KEY_KP_ENTER, |
54 VTERM_KEY_KP_EQUAL, | 56 VTERM_KEY_KP_EQUAL, |
55 | 57 |
56 VTERM_KEY_MAX /* Must be last */ | 58 VTERM_KEY_MAX, /* Must be last */ |
59 VTERM_N_KEYS = VTERM_KEY_MAX | |
57 } VTermKey; | 60 } VTermKey; |
58 | 61 |
59 #define VTERM_KEY_FUNCTION(n) (VTERM_KEY_FUNCTION_0+(n)) | 62 #define VTERM_KEY_FUNCTION(n) (VTERM_KEY_FUNCTION_0+(n)) |
60 | 63 |
61 #endif | 64 #endif |