Mercurial > pidgin
view finch/libgnt/test/key.c @ 17056:9af44da5a6b8
merge of '3906a45b801345d9fe5dde15ca9853fa78ee6839'
and '67cdec8942297c0d814a437496e7dcc6189127a7'
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 12 May 2007 13:22:15 +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; }