typing_10_fingers git · main
10 finger typing trainer (CMake)
C 97.4% Markdown 2.6%git clone https://git.christianimmanuel.de/web-tools/typing_10_fingers.gitwget https://git.christianimmanuel.de/web-tools/typing_10_fingers/archive/typing_10_fingers.tar.gzÄnderung bei readChar()
inout.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/inout.c b/inout.c index 9554f3a..1a01136 100644 --- a/inout.c +++ b/inout.c @@ -42,6 +42,7 @@ void printChar(wchar_t* lines, int color, wchar_t c, struct position_s position) } wchar_t readChar() { +#ifndef WINDOWS struct termios old_settings, new_settings; wchar_t c = L'\0'; @@ -57,5 +58,9 @@ wchar_t readChar() { tcsetattr(STDIN_FILENO, TCSANOW, &old_settings); return c; +#else +//readChar für Windows +#endif } +