From 2737a3846e56490e5c533d37bff4e72bca15a1da Mon Sep 17 00:00:00 2001 From: "@syxhe" Date: Mon, 22 Jul 2024 00:26:01 -0500 Subject: Update dummy test to show banner --- src/screen.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/screen.c b/src/screen.c index 598557a..9cdac02 100644 --- a/src/screen.c +++ b/src/screen.c @@ -151,11 +151,11 @@ int main() { waddstr(phrase, phrases[randomnum]); wrefresh(phrase); - wgetch(phrase); - - /* Ignore - for(int c = getch();; c = getch()) - mvaddch(c % row, c % col, c | A_BOLD); + //* Dummy test for fun. Shows how windows can't be overlapping or things get weird + WINDOW *test = newwin(row - 1, col, 1, 0); + for(int c = wgetch(test);; c = wgetch(test)) { + mvwaddch(test, c % row, c % col, c | (A_BOLD * (randombytes_random() % 2 > 0))); + } //*/ /* Menu example -- cgit v1.2.3