Nimbin[12]?Web & Tools / typing_10_fingers / commits / 8cf8cf1

typing_10_fingers git · main

10 finger typing trainer (CMake)

typing terminal c cmake · first commit 2024-02-26 · last commit 2024-03-16 (2 years ago) · synced 3 days ago · upstream: git.ide3.de/chfis005/typing_10_fingers

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()

Vitali Krieger · 2024-02-27 13:04 · 8cf8cf112372f8146e5d2c9d4801e183f5ba671c

 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    
 }
 
+