Fix end screen rolling off terminal
This commit is contained in:
parent
790a373637
commit
023960695f
@ -33,6 +33,7 @@
|
||||
|
||||
* Download source files
|
||||
* Install ncurses (If not already installed)
|
||||
* On Debian Systems: ```sudo apt install libncurses5-dev libncursesw5-dev```
|
||||
* Compile Using ```gcc typing_test.c utilities.c -lncurses```
|
||||
* OR: Run ```make``` using Makefile
|
||||
|
||||
@ -74,3 +75,4 @@ UI:
|
||||
* Typing prompt *implemented*
|
||||
* Stats menu *implemented*
|
||||
* Settings menu *implemented*
|
||||
* Themes
|
@ -285,6 +285,8 @@ void typing_ui(WINDOW *win, int level, int mode, Word_array *word_array, Stat_st
|
||||
|
||||
/* Print end screen */
|
||||
|
||||
line = 4;
|
||||
|
||||
print_centered_text(stdscr, 0, str); /* Print test type */
|
||||
curs_set(0);
|
||||
print_centered_text(win, 2, "Test Complete!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user