libgnt/libgnt
Clone
Summary
Browse
Changes
Graph
Remove Python support
default
tip
4 weeks ago, Gary Kramlich
768a0bf53a98
Remove Python support
This feature was never documented well and therefore was never really adopted.
Testing Done:
Compiled
Reviewed at https://reviews.imfreedom.org/r/3068/
#include
<ncurses.h>
int
main
(
void
)
{
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
;
}