Mercurial > pidgin
view finch/libgnt/test/key.c @ 17528:beeef78409b2
A patch from o_sukhodolsky to restructure the Trillian log formatting code
to avoid warnings.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 07 Jun 2007 05:23:31 +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; }