Skip to content

Commit

Permalink
🐛 fix bad loading bar on allocation track
Browse files Browse the repository at this point in the history
  • Loading branch information
froz42 committed Apr 5, 2023
1 parent 631249e commit f9e66ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions host/srcs/output/pretty/pretty_allocation_track.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include "../utils/output_utils.h"
#include "../../logs/logs.h"
#include "pretty_output.h"
#include "../loading_bar/loading_bar.h"

/**
* @brief utils passed to foreach to count the number of allocation nodes
Expand Down Expand Up @@ -111,6 +112,8 @@ void write_allocation_track_pretty(
}
else
{
if (is_a_tty())
erase_line();
fprintf(
stdout,
"┏%s %s%s %s when this function is failing allocations are not freed in %s%zu%s contexts \n",
Expand Down

0 comments on commit f9e66ed

Please sign in to comment.