From 2eebf06ade7a316f057334dd6d76b6af22c8ff01 Mon Sep 17 00:00:00 2001 From: scratko Date: Sat, 30 Mar 2024 19:26:21 +0300 Subject: Minor changes Extended desctiption. Cleaning a terminal history before dispaing of the tree is added to the main file. Fixed some function declaration. --- rb_tree_main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rb_tree_main.c') diff --git a/rb_tree_main.c b/rb_tree_main.c index e90910d..66ba68d 100644 --- a/rb_tree_main.c +++ b/rb_tree_main.c @@ -73,6 +73,8 @@ int main() CLEAR_BUFFER break; case print: + /* clearing terminal history */ + printf("\033c"); if(new_tree) rb_tree_print(new_tree, new_tree->root); break; -- cgit v1.2.3