summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author@syxhe <https://t.me/syxhe>2024-07-22 00:26:01 -0500
committer@syxhe <https://t.me/syxhe>2024-07-22 00:26:01 -0500
commit2737a3846e56490e5c533d37bff4e72bca15a1da (patch)
treeab376891dbc1497542fcc19d3b540fdccb196bc4
parent55af7ae0f136863f0781630e22c66b75b1afe3bc (diff)
Update dummy test to show banner
-rw-r--r--src/screen.c10
1 files 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() {
151 waddstr(phrase, phrases[randomnum]); 151 waddstr(phrase, phrases[randomnum]);
152 wrefresh(phrase); 152 wrefresh(phrase);
153 153
154 wgetch(phrase); 154 //* Dummy test for fun. Shows how windows can't be overlapping or things get weird
155 155 WINDOW *test = newwin(row - 1, col, 1, 0);
156 /* Ignore 156 for(int c = wgetch(test);; c = wgetch(test)) {
157 for(int c = getch();; c = getch()) 157 mvwaddch(test, c % row, c % col, c | (A_BOLD * (randombytes_random() % 2 > 0)));
158 mvaddch(c % row, c % col, c | A_BOLD); 158 }
159 //*/ 159 //*/
160 160
161 /* Menu example 161 /* Menu example