2024-03-14 20:47:46 +01:00
|
|
|
#define CTRLD 0x04
|
2024-03-15 12:51:58 +01:00
|
|
|
#define ENTER 0xA
|
2024-03-14 20:47:46 +01:00
|
|
|
#define CTRLU 0x15
|
2024-03-15 12:51:58 +01:00
|
|
|
#define ESC 0x1B
|
2024-03-14 20:47:46 +01:00
|
|
|
#define SPACE 0x20
|
|
|
|
#define TILDE 0x7E
|
|
|
|
#define DOWN 0x102
|
|
|
|
#define UP 0x103
|
|
|
|
#define LEFT 0x104
|
|
|
|
#define RIGHT 0x105
|
|
|
|
#define BACKSPACE 0x107
|
2024-03-13 20:19:22 +01:00
|
|
|
#define PH 1 /* panel height */
|
|
|
|
#define JUMP_NUM 14 /* how long ctrl + u/d jump are */
|
2024-03-16 20:26:35 +01:00
|
|
|
#define BLOCK_SIZE true
|
|
|
|
#define DISK_USAGE false
|
2024-03-15 12:51:58 +01:00
|
|
|
|
|
|
|
static const char *editor = "nvim"; /* default text editor */
|