From f10a4dd8cce56595891e4c26cbfb6f1299abbe76 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 26 Oct 2009 13:34:25 +0100 Subject: [PATCH] Clear screen before asking questions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit I don’t know if the problem only exists in x128, but without the clrscr() here the prompt could be outside the visible part of the screen. --- src/credit_manager.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/credit_manager.c b/src/credit_manager.c index 05073dc..1a270d8 100644 --- a/src/credit_manager.c +++ b/src/credit_manager.c @@ -91,6 +91,7 @@ static void new_credit() { return; } + clrscr(); cprintf("\rNickname:\r\n"); if ((input = get_input()) == NULL || *input == '\0') return; -- 2.39.5