|
|
1.1 ! root 1: #include <curses.h> ! 2: ! 3: main() ! 4: { ! 5: WINDOW* mywin; ! 6: WINDOW* mysubwin; ! 7: initscr(); ! 8: ! 9: mywin = newwin(24,80,0,0); ! 10: mysubwin = subwin(mywin,10,70,5,5); ! 11: ! 12: wprintw(mysubwin,"Hello World\n"); ! 13: touchwin(mywin); ! 14: wnoutrefresh(mywin); ! 15: doupdate(); ! 16: endwin(); ! 17: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.