/* create a window with a frame */
term_win = newwin(h + 2, w + 2, 1, 2);
wattrset(term_win, COLOR_PAIR(7*8+7-0)); /* black over white */
/* create a window with a frame */
term_win = newwin(h + 2, w + 2, 1, 2);
wattrset(term_win, COLOR_PAIR(7*8+7-0)); /* black over white */