addstr(p1)
add a string of characters str, to the window and advance cursor
static VALUE window_addstr(VALUE obj, VALUE str) { if (!NIL_P(str)) { struct windata *winp; StringValue(str); str = rb_str_export_locale(str); GetWINDOW(obj, winp); waddstr(winp->window, StringValueCStr(str)); } return Qnil; }