Mercurial > pidgin
view console/libgnt/test/key.c @ 15117:1f0db03dd165
[gaim-migrate @ 17903]
Update the Changelog.API. Thanks to ari for noticing.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 06 Dec 2006 23:05:51 +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; }