diff --git a/src/Console/Resources/getch.c b/src/Console/Resources/getch.c index 5fc5211..eb21e46 100644 --- a/src/Console/Resources/getch.c +++ b/src/Console/Resources/getch.c @@ -9,8 +9,9 @@ int _getch(void) int ch; tcgetattr( STDIN_FILENO, &oldattr ); newattr = oldattr; - newattr.c_lflag &= ~( ICANON | ECHO ); - tcsetattr( STDIN_FILENO, TCSANOW, &newattr ); + cfmakeraw(&newattr); + //newattr.c_lflag &= ~( ICANON | ECHO ); + //tcsetattr( STDIN_FILENO, TCSANOW, &newattr ); ch = getchar(); tcsetattr( STDIN_FILENO, TCSANOW, &oldattr ); return ch; diff --git a/src/Console/Resources/libgetch.so b/src/Console/Resources/libgetch.so index a6bc39f..40fffa8 100755 Binary files a/src/Console/Resources/libgetch.so and b/src/Console/Resources/libgetch.so differ