view finch/libgnt/test/key.c @ 20463:0b04a7d90470

removed "PSM:" label and move the message to "Status:" to be consistent with other prpls
author Ka-Hing Cheung <khc@hxbc.us>
date Sat, 21 Jul 2007 19:47:42 +0000
parents 0e3a8505ebbe
children f104e1d45d85
line wrap: on
line source

#include <ncurses.h>

int main()
{
	int ch;
	initscr();

	noecho();

	while ((ch = getch())) {
		printw("%d ", ch);
		refresh();
	}

	endwin();
	return 0;
}