Working product with sustainable legacies
This commit is contained in:
5
ui.c
5
ui.c
@@ -22,6 +22,7 @@ ui_init(void)
|
||||
init_pair(UI_BLUE, COLOR_BLUE, COLOR_BLACK);
|
||||
cbreak();
|
||||
noecho();
|
||||
nodelay(stdscr, TRUE);
|
||||
nonl();
|
||||
intrflush(stdscr, FALSE);
|
||||
keypad(stdscr, TRUE);
|
||||
@@ -34,12 +35,12 @@ void ui_end()
|
||||
endwin();
|
||||
}
|
||||
|
||||
void ui_string(size_t x, size_t y, char *s)
|
||||
void ui_string(unsigned int x, unsigned int y, char *s)
|
||||
{
|
||||
mvaddstr(y, x, s);
|
||||
}
|
||||
|
||||
void ui_char(size_t x, size_t y, char c)
|
||||
void ui_char(unsigned int x, unsigned int y, char c)
|
||||
{
|
||||
mvaddch(y, x, c);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user