menu.h (view raw)
1 2 3 4 5 6 7 8
#include <poll.h> #include <stdint.h> #include <stdio.h> #include <unistd.h> void move_cursor(int direction, uint8_t *pos, int len); int menu(char **elements, int len);