view finch/libgnt/test/key.c @ 16313:e06b387d79bd

Add mingw makefile for 22px toolbar pixmaps.
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 23 Apr 2007 01:29:29 +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;
}