This is the implementation of "conio.h" from ms-dos based C compilers for linux/*nix systems
Why use "conio" on linux instead of "curses" or other libraries
Installation is done by copying "conio.h" file to location where compiler looks for header files Or keeping "conio.h" in same directory as your code and using #include "conio.h"
instead of #include <conio.h>
On most systems it can be installed by running following commands in terminal emulator
$ git clone https://github.com/casualsnek/linuxconio
$ cd linuxconio
$ sudo cp conio.h /usr/include/conio.h
Restart your IDE if you are using one and use it as you normally would
You can check if it is working properly after installing by compilling and running "testconio.c" using following commands:
$ gcc testconio.c -o testconio
$ ./testconio
May not be exact to windows "conio.h" but mostly seems to work in similar ways
You can help by adding support for missing functions or improving the already existing ones. Please star this repository if you find ths useful