finch/libgnt/test/key.c

branch
cpw.khc.msnp14
changeset 20481
65485e2ed8a3
parent 15019
825ed14a3aa7
parent 20478
46933dc62880
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/finch/libgnt/test/key.c	Sun Apr 15 03:56:08 2007 +0000
@@ -0,0 +1,18 @@
+#include <ncurses.h>
+
+int main()
+{
+	int ch;
+	initscr();
+
+	noecho();
+
+	while ((ch = getch())) {
+		printw("%d ", ch);
+		refresh();
+	}
+
+	endwin();
+	return 0;
+}
+

mercurial