qulogic/libgnt
Clone
Summary
Browse
Changes
Graph
Properly disable libgnt.
meson
2016-12-19, Elliott Sales de Andrade
7d14884247c5
Properly disable libgnt.
#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
;
}