view finch/libgnt/test/key.c @ 17308:2d2c72f70e8c

Add note on use of purple_ssl_input_add
author William Ehlhardt <williamehlhardt@gmail.com>
date Fri, 25 May 2007 04:34:43 +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;
}