12 lines
No EOL
301 B
C
12 lines
No EOL
301 B
C
#ifndef __GETCH_H
|
|
#define __GETCH_H
|
|
|
|
#ifdef _WIN32
|
|
// FIXME: assuming that windows getch behaves the same as linux getch, this should be checked!
|
|
#include <conio.h>
|
|
#include <windows.h> // used only for virtual terminal configuring for windows default terminal
|
|
#else
|
|
#include <curses.h>
|
|
#endif
|
|
|
|
#endif |