view console/libgnt/test/key.c @ 15609:eba9715548d7

This should prevent the dll resources from being regenerated each time.
author Daniel Atallah <daniel.atallah@gmail.com>
date Sun, 11 Feb 2007 00:17:12 +0000
parents 6dbff723fabc
children 50c25be2563b
line wrap: on
line source

#include <ncurses.h>

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

	noecho();

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

	endwin();
	return 0;
}