diff -r ebe0c961e9a6 -r bcf624518909 src/input.h --- a/src/input.h Thu Apr 10 11:44:55 2014 +0200 +++ b/src/input.h Thu Apr 10 12:10:09 2014 +0200 @@ -79,8 +79,8 @@ * @param len the length of the buffer * @return 0 if reading is in progress and 1 when a complete line is read */ -#define asyncgetnstr(str,pos,len) mvwasyncgetnstr(stdscr, stdscr->_cury, \ - stdscr->_curx, str, pos, len) +#define asyncgetnstr(str,pos,len) mvwasyncgetnstr(stdscr, getcury(stdscr), \ + getcurx(stdscr), str, pos, len) #ifdef __cplusplus