Basically, making my own getch() function in which it calls a few system commands.
Code:
char getch();
char getch()
{
//Gets the raw input
system( "stty raw" );
//Sets the buffer to not echo onto the screen
system( "stty -echo" );
//gets the input
char input = getchar();
//resets
Leave a comment: