Mercurial > pidgin.yaz
view console/libgnt/test/key.c @ 15165:2c0e3ef91e37
[gaim-migrate @ 17950]
credit
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sun, 10 Dec 2006 23:32:28 +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; }