qulogic/libgnt
Clone
Summary
Browse
Changes
Graph
Remove -Wno-sign-compare and backport fixes from default.
release-2.x.y
v2.10.11
v2.10.12
v2.11.0
2014-11-13, Elliott Sales de Andrade
63ae9824b636
Remove -Wno-sign-compare and backport fixes from default.
#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
;
}