This repository has been archived on 2022-05-26. You can view files and clone it, but cannot push or open issues or pull requests.
calculator/src/getch.h
2022-05-15 21:47:33 +02:00

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