src/input.h

changeset 37
bcf624518909
parent 35
6c64b7a073af
child 55
54ea19938d57
equal deleted inserted replaced
36:ebe0c961e9a6 37:bcf624518909
77 * @param str the buffer for the read string 77 * @param str the buffer for the read string
78 * @param pos a pointer to the object containing the current buffer position 78 * @param pos a pointer to the object containing the current buffer position
79 * @param len the length of the buffer 79 * @param len the length of the buffer
80 * @return 0 if reading is in progress and 1 when a complete line is read 80 * @return 0 if reading is in progress and 1 when a complete line is read
81 */ 81 */
82 #define asyncgetnstr(str,pos,len) mvwasyncgetnstr(stdscr, stdscr->_cury, \ 82 #define asyncgetnstr(str,pos,len) mvwasyncgetnstr(stdscr, getcury(stdscr), \
83 stdscr->_curx, str, pos, len) 83 getcurx(stdscr), str, pos, len)
84 84
85 85
86 #ifdef __cplusplus 86 #ifdef __cplusplus
87 } 87 }
88 #endif 88 #endif

mercurial