static int t[] = { 0x000000, 0x0000ff, 0x00ff00, 0x00ffff, 0xff0000, 0xff00ff, 0xffff00, 0xffffff, 0x5f5f5f, 0x0000af, 0x00af00, 0x00afaf, 0xaf0000, 0xaf00af, 0xafaf00, 0xafafaf };
#define KEY_ENTER '\n' #define KEY_ESC 27 #define KEY_BACKSPACE 8 #define KEY_TAB 9 #define KEY_LEFT 331 #define KEY_RIGHT 333 #define KEY_UP 328 #define KEY_DOWN 336 #define KEY_INS 338 #define KEY_DEL 339
#define BL_WAITKEYF 0x00000001 #define BL_WAITKEYNF 0x00000002 #define BL_WAITKEY 0x00000003 #define BL_GETKEY 0x00000004 #define BL_CLEARREP 0x00000008 #define BL_DELFFF 0x00000010