qulogic/libgnt
Clone
Summary
Browse
Changes
Graph
propagate from branch 'im.pidgin.pidgin' (head 5e7b8abe05a08af21f33817bf14f09c93eba3bc7)
next.minor
2010-02-04, Paul Aurich
750d40fba2fe
propagate from branch 'im.pidgin.pidgin' (head 5e7b8abe05a08af21f33817bf14f09c93eba3bc7)
to branch 'im.pidgin.pidgin.next.minor' (head 6f6e41f19d1d697a08a420ab39d05e125ec29210)
#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
;
}