This commit is contained in:
2026-04-01 23:13:15 +02:00
commit 78c2d9c659
2100 changed files with 610164 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
#if defined(_WIN32)
#include <conio.h> /* getche() */
#elif defined(__S3E__)
#else
#include "Getche.h"
char getche()
{
struct termios oldt,
newt;
char ch;
tcgetattr( STDIN_FILENO, &oldt );
newt = oldt;
newt.c_lflag &= ~( ICANON | ECHO );
tcsetattr( STDIN_FILENO, TCSANOW, &newt );
ch = getchar();
tcsetattr( STDIN_FILENO, TCSANOW, &oldt );
return ch;
}
#endif