Mercurial > pidgin
view finch/libgnt/test/key.c @ 24140:619ac2303c46
2009.10.02 - ccpaging <ccpaging(at)gmail.com>
* Added 'Captcha Display' function
* Most functions from patch written by Emil Alexiev merged into trunk,
except 'buddy operations'
* 'online buddy status' and 'qun buddies' still have problems
author | SHiNE CsyFeK <csyfek@gmail.com> |
---|---|
date | Wed, 22 Oct 2008 14:43:46 +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; }