[util] Detect genisoimage as mkisofs replacement
[gpxe.git] / src / hci / mucurses / print_nadv.c
blobee472e6853730e31329e403296f674205d3b9cd7
1 #include <curses.h>
2 #include "mucurses.h"
3 #include "cursor.h"
5 /** @file
7 * MuCurses printing functions (no cursor advance)
9 */
11 /**
12 * Add string of single-byte characters and renditions to a window
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
19 int waddchnstr ( WINDOW *win, const chtype *chstr, int n ) {
20 struct cursor_pos pos;
22 _store_curs_pos( win, &pos );
23 _wputchstr( win, chstr, NOWRAP, n );
24 _restore_curs_pos( win, &pos );
25 return OK;