From: Michael Stapelberg Date: Mon, 26 Oct 2009 12:34:25 +0000 (+0100) Subject: Clear screen before asking questions X-Git-Tag: rgb2rv6~13 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f10a4dd8cce56595891e4c26cbfb6f1299abbe76;p=c128-kasse Clear screen before asking questions 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. --- 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;