From 61778a23a65642c0f486ddd713b8f49cee4693d5 Mon Sep 17 00:00:00 2001 From: = <=> Date: Sat, 22 Sep 2018 22:42:11 +0200 Subject: [PATCH] added unittests, fixed getting terminal position and tested code --- examples/program_examples/first_depth_search/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/program_examples/first_depth_search/src/main.rs b/examples/program_examples/first_depth_search/src/main.rs index fdeaa20..2d8c9b4 100644 --- a/examples/program_examples/first_depth_search/src/main.rs +++ b/examples/program_examples/first_depth_search/src/main.rs @@ -63,7 +63,7 @@ fn print_welcome_screen() let input = crossterm.input(); // 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. terminal.clear(ClearType::All);