build ncurses with more stuff

This commit is contained in:
Nick Chan committed 2023-01-28 20:41:18 +08:00
1 parent 07169da20e
commit bd7da74546
9 files changed
+179 -7

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
#ifndef TUI_H
#define TUI_H
#define NCURSES_WIDECHAR 1
#include <ncurses.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#include <inttypes.h>
#include <errno.h>
#include <fcntl.h>
#include <string.h>
#include <locale.h>
#include <unistd.h>
struct button {
char name[0x10];
};
struct button_list {
uint8_t count;
uint8_t current;
uint8_t height;
struct button buttons[];
};
#endif