Mercurial > pidgin.yaz
view finch/libgnt/test/key.c @ 18298:468c2d760bf3
merge of '0c6d125066d754b13d41953911c8ea86f0289ec4'
and 'bc1e79e2ceda5e8b0b01d5cef92e7eade132e518'
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 26 Jun 2007 19:46:26 +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; }