Mercurial > pidgin
view finch/libgnt/test/key.c @ 24523:77873bca18bb
I think we don't need to keep track of the number of users on the FL. This
stuff has been commented out for a while now, with no complaints. Whatever the
limit is now, it's either reported by the server, or too large for anyone to
care, it seems.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Mon, 08 Dec 2008 00:18:45 +0000 |
parents | f104e1d45d85 |
children |
line wrap: on
line source
#include <ncurses.h> int main() { int ch; initscr(); noecho(); cbreak(); refresh(); WINDOW *win = newpad(20, 30); box(win, 0, 0); prefresh(win, 0, 0, 0, 0, 19, 29); doupdate(); while ((ch = getch())) { printw("%d ", ch); refresh(); } endwin(); return 0; }