grim/libgnt
Clone
Summary
Browse
Changes
Graph
Prepare for the 2.14.3 release
release-2.x.y
v2.14.3
2021-09-25, Gary Kramlich
d3ad72913471
Prepare for the 2.14.3 release
Testing Done:
ran `ninja dist`
Reviewed at https://reviews.imfreedom.org/r/946/
#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
;
}