libgnt/libgnt
Clone
Summary
Browse
Changes
Graph
Prepare for the next round of development
release-2.x.y
2021-09-25, Gary Kramlich
f61ccf9acd3f
Prepare for the next round of development
Testing Done:
Compiled
Reviewed at https://reviews.imfreedom.org/r/947/
#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
;
}