Mercurial > pidgin.yaz
view console/libgnt/test/key.c @ 15559:dad51c0e3bc6
context menu cleanup
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 05 Feb 2007 10:04:31 +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; }