random cmenu stuff

This commit is contained in:
2026-09-22 22:46:53 +02:00
parent 123529d03f
commit 6776883aa5
3 changed files with 15 additions and 17 deletions
+8 -11
View File
@@ -11,18 +11,15 @@ typedef struct Color {
#define WHITE ((Color){255,255,255})
#define BLACK ((Color){0,0,0})
typedef enum Key {
Key_backspace,
Key_ctrl,
Key_enter,
Key_h,
Key_n,
Key_p,
Key_y,
Count_Key
} Key;
typedef enum Action {
Action_Backspace,
Action_Select,
Action_Next,
Action_Previous,
Count_Action
} Action;
bool KeyPressed(Key key);
bool ActionPressed(Action key);
bool InputGetNextPrintable(char const *out_key);
typedef struct Cell {