added unittests, fixed getting terminal position and tested code
This commit is contained in:
parent
a2bb9ecff5
commit
61778a23a6
@ -63,7 +63,7 @@ fn print_welcome_screen()
|
|||||||
let input = crossterm.input();
|
let input = crossterm.input();
|
||||||
|
|
||||||
// set size of terminal so the map we are going to draw is fitting the screen.
|
// set size of terminal so the map we are going to draw is fitting the screen.
|
||||||
terminal.set_size(60,110);
|
terminal.set_size(110,60);
|
||||||
|
|
||||||
// clear the screen and print the welcome message.
|
// clear the screen and print the welcome message.
|
||||||
terminal.clear(ClearType::All);
|
terminal.clear(ClearType::All);
|
||||||
|
Loading…
Reference in New Issue
Block a user