diff options
author | Andrés <andmarti@gmail.com> | 2021-03-25 19:14:28 -0300 |
---|---|---|
committer | Andrés <andmarti@gmail.com> | 2021-03-25 19:14:28 -0300 |
commit | db8a877df355648ab37b3ebcc9060a70dc97211c (patch) | |
tree | f07b5f9777151b2b5b1001db77d717fe95c2a94a /src/macros.h | |
parent | ef4607fa69be7c74845164061a597964aee4ba49 (diff) |
Recognise <SPACE> in mappings, rathern than simple ' '
Diffstat (limited to 'src/macros.h')
-rw-r--r-- | src/macros.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/macros.h b/src/macros.h index ee708d0..d7b8734 100644 --- a/src/macros.h +++ b/src/macros.h @@ -62,6 +62,7 @@ #define OKEY_ESC '\033' #define OKEY_TAB '\011' #define OKEY_ENTER 10 +#define OKEY_SPACE L' ' #define OKEY_LEFT 0x104 #define OKEY_RIGHT 0x105 #define OKEY_DOWN 0x102 @@ -73,6 +74,7 @@ #define OKEY_END 0x168 #define OKEY_PGUP 0x153 #define OKEY_PGDOWN 0x152 +#define OKEY_F(x) KEY_F(x) //#define metak(x) ((x) | 0x80) #define LEFT 0 |