box-o-sand/PracticingCurses/basics/with_chgat.c

16 lines
297 B
C
Raw Normal View History

2009-11-19 00:38:43 +00:00
#include <ncurses.h>
int main(int argc, char *argv[])
{
initscr();
start_color();
2009-11-19 00:38:43 +00:00
init_pair(1, COLOR_CYAN, COLOR_BLACK);
printw("A Big string which i didn't care to type fully ");
mvchgat(0, 0, -1, A_BLINK, 1, NULL);
refresh();
getch();
endwin();
2009-11-19 00:38:43 +00:00
return 0;
}