Mercurial > pidgin
view finch/libgnt/test/key.c @ 24157:1ee91ff0d5fe
2008.10.09 - ccpaging <ccpaging(at)gmail.com>
* Update 'group' protocol
* Functions of group_find, group_free, group_search merged into group_join and group_internal
* Removed group_find.c/h, group_free.c/h, group_search.c/h
author | SHiNE CsyFeK <csyfek@gmail.com> |
---|---|
date | Tue, 28 Oct 2008 16:38:16 +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; }