diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2023-11-29 22:39:54 +0000 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2023-11-29 22:39:54 +0000 |
commit | 21cb7d04c387e4198ca8098a884c78b56ffcf4c2 (patch) | |
tree | 84fe5690df1551f0bb2bdfe1a13aacd29ebc1de7 /src/nvim/keycodes.h | |
parent | d9c904f85a23a496df4eb6be42aa43f007b22d50 (diff) | |
parent | 4a8bf24ac690004aedf5540fa440e788459e5e34 (diff) | |
download | rneovim-21cb7d04c387e4198ca8098a884c78b56ffcf4c2.tar.gz rneovim-21cb7d04c387e4198ca8098a884c78b56ffcf4c2.tar.bz2 rneovim-21cb7d04c387e4198ca8098a884c78b56ffcf4c2.zip |
Merge remote-tracking branch 'upstream/master' into colorcolcharcolorcolchar
Diffstat (limited to 'src/nvim/keycodes.h')
-rw-r--r-- | src/nvim/keycodes.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/nvim/keycodes.h b/src/nvim/keycodes.h index 7842dee92c..db9ef38cc3 100644 --- a/src/nvim/keycodes.h +++ b/src/nvim/keycodes.h @@ -1,10 +1,10 @@ -#ifndef NVIM_KEYCODES_H -#define NVIM_KEYCODES_H +#pragma once #include <stddef.h> -#include "nvim/ascii.h" +#include "nvim/ascii_defs.h" #include "nvim/option_defs.h" +#include "nvim/option_vars.h" #include "nvim/strings.h" // Keycode definitions for special keys. @@ -59,7 +59,7 @@ // Used for switching Select mode back on after a mapping or menu. #define KS_SELECT 245 -#define K_SELECT_STRING (char_u *)"\200\365X" +#define K_SELECT_STRING "\200\365X" /// Used a termcap entry that produces a normal character. #define KS_KEY 242 @@ -500,4 +500,3 @@ enum { #ifdef INCLUDE_GENERATED_DECLARATIONS # include "keycodes.h.generated.h" #endif -#endif // NVIM_KEYCODES_H |