Mercurial > pidgin.yaz
view console/libgnt/test/key.c @ 15771:2ed235b0f97e
merge of '01e79f9c7ec957a574f7f14ad3c02de473d744b9'
and '999bc03286f1871ff88fb52b4915f642de62dcef'
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 04 Mar 2007 16:52:25 +0000 |
parents | 50c25be2563b |
children |
line wrap: on
line source
#include <ncurses.h> int main() { int ch; initscr(); noecho(); while ((ch = getch())) { printw("%d ", ch); refresh(); } endwin(); return 0; }