From 58240b0509d11b09ce2994b88308650e7cfb93bd Mon Sep 17 00:00:00 2001 From: Aleksa Vučković Date: Mon, 6 Jun 2022 00:11:11 +0200 Subject: game and keyboard small fix --- src/c/keyboard.c | 1 + src/c/shell/game.c | 4 ++-- src/c/shell/neofetch.c | 4 ++-- src/c/tty.c | 1 + 4 files changed, 6 insertions(+), 4 deletions(-) (limited to 'src/c') diff --git a/src/c/keyboard.c b/src/c/keyboard.c index fb4361d..47c4a22 100644 --- a/src/c/keyboard.c +++ b/src/c/keyboard.c @@ -54,6 +54,7 @@ void enter() } buffer_index=0; } + else prompt(); return; } diff --git a/src/c/shell/game.c b/src/c/shell/game.c index e7c5d1e..ce7793b 100644 --- a/src/c/shell/game.c +++ b/src/c/shell/game.c @@ -83,7 +83,7 @@ void game_timer_handler() else y=VGA_HEIGHT-1; break; case 2: - if(y