diff options
Diffstat (limited to 'rb_tree_main.c')
-rw-r--r-- | rb_tree_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |