]> git.sur5r.net Git - c128-kasse/commitdiff
Clear screen before asking questions
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 26 Oct 2009 12:34:25 +0000 (13:34 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 26 Oct 2009 12:34:25 +0000 (13:34 +0100)
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

index 05073dc2bd7fb62a3f0f555ef0ad0e8125a4f979..1a270d8c64f5b126b546b0c74eb8d1b7bcccdcfa 100644 (file)
@@ -91,6 +91,7 @@ static void new_credit() {
                return;
        }
 
+       clrscr();
        cprintf("\rNickname:\r\n");
        if ((input = get_input()) == NULL || *input == '\0')
                return;