projects
/
oftp
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
50eb23e898adc88a65c6d9efc12e10f1bf2c98e6
[oftp]
/
src
/
unix
/
input.c
1
#include <curses.h>
2
#include "input.h"
3
4
int init_input(void)
5
{
6
return 0;
7
}
8
9
void cleanup_input(void)
10
{
11
}
12
13
int wait_input(union event *ev)
14
{
15
ev->type = EV_KEY;
16
ev->key.key = getch();
17
return 1;
18
}