view finch/libgnt/test/key.c @ 17842:c7df0c2d8eef

Icon updates from Hylke, including tray icons in 2 more sizes
author Sean Egan <seanegan@gmail.com>
date Tue, 12 Jun 2007 18:28:10 +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;
}