This commit is contained in:
jl777
2019-02-17 01:51:13 -11:00
parent 8824e836a7
commit 43edfb4ae2
4 changed files with 14 additions and 2 deletions

View File

@@ -41,10 +41,12 @@ struct cursesd_info
uint8_t screen[LINES][COLS];
int32_t x,y;
};
extern WINDOW *stdscr,*curscr;
typedef struct cursesd_info WINDOW;
extern WINDOW *stdscr,*curscr;
typedef char chtype;
int32_t getch(void); // stub
WINDOW *initscr(void);
int32_t endwin(void);
int32_t isendwin(void);
@@ -138,6 +140,8 @@ int32_t mvwprintw(WINDOW *win,int32_t y,int32_t x,char *fmt,...);
#define clearok(win,bf) 0
#define idlok(win,bf) 0
#define leaveok(win,bf) 0
#define halfdelay(x) 0
#define nocbreak() 0
#ifndef TRUE
#define TRUE 1