about summary refs log tree commit diff
path: root/include/platform/getch.h
blob: 490b53682cc964ec5f2801ce1bceac9cdeccacd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef __GETCH_H__
#define __GETCH_H__

#ifdef _WIN32
#include <conio.h>
#define getch _getche
#else
int getch(void);
#endif /* _WIN32 */

void getch_init(void);

#endif /* __GETCH_H__ */