diff options
author | pommicket <pommicket@gmail.com> | 2023-01-04 13:06:13 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-04 13:06:13 -0500 |
commit | 4293f5284971473afaa43b83075d4d985b976622 (patch) | |
tree | 498243bee09fab77d0a3414c9cc8ad421a7f1136 /command.h | |
parent | 98c618770f44a2bde4b5ba45c7390971c91a3fc3 (diff) |
more documentation
Diffstat (limited to 'command.h')
-rw-r--r-- | command.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,12 +1,12 @@ +// command enum + #ifndef COMMAND_H_ #define COMMAND_H_ -#include "base.h" - -// i | ARG_STRING = ted->strings[i] +// `i | ARG_STRING` when used as an argument refers to `ted->strings[i]` #define ARG_STRING 0x4000000000000000 -ENUM_U16 { +typedef enum { CMD_UNKNOWN, CMD_NOOP, // do nothing // movement and selection commands @@ -113,7 +113,7 @@ ENUM_U16 { CMD_ESCAPE, // by default this is the escape key. closes menus, etc. CMD_COUNT -} ENUM_U16_END(Command); +} Command; #endif |