refactor(api): move command related API to separate file

This commit is contained in:
bfredl
2022-06-12 16:38:31 +02:00
parent a907d6f517
commit 0d63fafcda
9 changed files with 1146 additions and 1118 deletions

View File

@@ -17,6 +17,9 @@
#define VALID_PATH 1
#define VALID_HEAD 2
// Whether a command index indicates a user command.
#define IS_USER_CMDIDX(idx) ((int)(idx) < 0)
// Structure used to save the current state. Used when executing Normal mode
// commands while in any other mode.
typedef struct {