1 #include <curses.h> 2 #include "mucurses.h" 3 #include "cursor.h" 4 5 /** @file 6 * 7 * MuCurses printing functions (no cursor advance) 8 * 9 */ 10 11 /** 12 * Add string of single-byte characters and renditions to a window 13 * 14 * @v *win window to be rendered in 15 * @v *chstr pointer to first chtype in "string" 16 * @v n max number of chars from chstr to render 17 * @ret rc return status code 18 */ waddchnstr(WINDOW * win,const chtype * chstr,int n)19int waddchnstr ( WINDOW *win, const chtype *chstr, int n ) { 20 struct cursor_pos pos; 21 22 _store_curs_pos( win, &pos ); 23 _wputchstr( win, chstr, NOWRAP, n ); 24 _restore_curs_pos( win, &pos ); 25 return OK; 26 } 27