qulogic/libgnt

Finch-OTR: implement e2ee conversation menu

2014-04-26, Tomasz Wasilczyk
2df252827bbd
Finch-OTR: implement e2ee conversation menu
#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;
}