|
|
|
|
682
|
// OK, so maybe a few I did with macros...
|
682
|
// OK, so maybe a few I did with macros...
|
683
|
#define mvprintw( y, x, fmt, ... ) \
|
683
|
#define mvprintw( y, x, fmt, ... ) \
|
684
|
( wmove(stdscr,(y),(x)) == OK \
|
684
|
( wmove(stdscr,(y),(x)) == OK \
|
685
|
- ? wprintw(stdscr,(fmt), ## __VA_ARGS__ : ERR )
|
|
|
|
|
685
|
+ ? wprintw( stdscr,(fmt), ## __VA_ARGS__ ) : ERR )
|
686
|
|
686
|
|
687
|
static inline int mvvline ( int y, int x, chtype ch, int n ) {
|
687
|
static inline int mvvline ( int y, int x, chtype ch, int n ) {
|
688
|
return ( wmove ( stdscr, y, x ) == OK
|
688
|
return ( wmove ( stdscr, y, x ) == OK
|