WINDOW *win;
win = newwin(win,5,6,8,8);
start_color();
init_pair(省略);
attron(省略);
box(win,'*','*');
attroff(省略);
大致的代码
但是win窗口没有颜色,换成stdscr却可以。
WINDOW *win;
win = newwin(win,5,6,8,8);
start_color();
init_pair(省略);
attron(省略);
box(win,'*','*');
attroff(省略);
大致的代码
但是win窗口没有颜色,换成stdscr却可以。