full split complete

This commit is contained in:
2025-11-29 14:56:51 -08:00
parent 74637c8e83
commit c2a6a593ef
16 changed files with 2808 additions and 2690 deletions

22
process.h Normal file
View File

@@ -0,0 +1,22 @@
#ifndef KE_PROCESS_H
#define KE_PROCESS_H
#include <stdint.h>
/*
* define the keyboard input modes
* normal: no special mode
* kcommand: ^k commands
* escape: what happens when you hit escape?
*/
#define MODE_NORMAL 0
#define MODE_KCOMMAND 1
#define MODE_ESCAPE 2
void process_kcommand(int16_t c);
void process_normal(int16_t c);
void process_escape(int16_t c);
int process_keypress(void);
#endif