Merge pull request #813 from talisein/fake-wattrgetset
tests: add wattr_get/set to fake ncurses
This commit is contained in:
commit
024688f75d
@ -90,6 +90,26 @@ wattr_off (WINDOW *win, attr_t attrs, void *opts)
|
|||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
wattr_get (WINDOW *win, attr_t *attrs, short *pair, void *opts)
|
||||||
|
{
|
||||||
|
(void) win;
|
||||||
|
(void) attrs;
|
||||||
|
(void) pair;
|
||||||
|
(void) opts;
|
||||||
|
return OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
wattr_set (WINDOW *win, attr_t *attrs, short *pair, void *opts)
|
||||||
|
{
|
||||||
|
(void) win;
|
||||||
|
(void) attrs;
|
||||||
|
(void) pair;
|
||||||
|
(void) opts;
|
||||||
|
return OK;
|
||||||
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
waddnstr(WINDOW *win, const char *str, int n)
|
waddnstr(WINDOW *win, const char *str, int n)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user