Nimbin[12]?Web & Tools / typing_10_fingers / commits / f2065af

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

Update: add position as parameter to printAt

Christian Immanuel · 2024-02-27 06:19 · f2065af6b51c4ffc7461cb6eb4c1104adcf57376

 inout.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/inout.c b/inout.c
index 87ebbc6..b11dd2a 100644
--- a/inout.c
+++ b/inout.c
@@ -43,7 +43,7 @@ void getLine(char* line, char* chars, int length, int wc){
 
 }
 
-void printChar(char* lines, int color, char c){
+void printChar(char* lines, int color, char c, struct position_s position){
     printAt(position.x, position.y, lines[position.x-1], color);
     if (c != lines[position.x-1]) {
         printAt(position.x, position.y+1, c, RED);
@@ -61,4 +61,4 @@ int readChar(){
     char c = getc(stdin);
     tcsetattr(STDIN_FILENO, TCSANOW, &old_settings);
     return c;
-}
\ No newline at end of file
+}