-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtree.txt
More file actions
29 lines (29 loc) · 1.15 KB
/
Copy pathtree.txt
File metadata and controls
29 lines (29 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Progress_Bar_Project
│
├── Phase_1_Mapping_And_Threading [Triggered by start()]
│ │
│ ├── calculate_line_range(start_line, end_line)
│ │ └── Outputs: total_lines (Global)
│ │
│ ├── generate_percentage_map(total_lines)
│ │ └── Outputs: Hash Map Dictionary (Global)
│ │
│ ├── display_loading_visual(thread_id)
│ │ └── Action: Renders temporary UI
│ │
│ └── sync_and_print_status()
│ └── Action: Awaits hash map completion, clears UI, preps execution UI
│
└── Phase_2_Execution_Engine [Runs continuously until end()]
│
├── update_current_line(line_number)
│ └── Action: Updates current_line (Global)
│
├── fetch_current_percentage()
│ └── Action: Looks up current_line in Hash Map
│
├── format_progress_string(percentage)
│ └── Action: Slices and inserts '#' symbols based on percentage
│
└── flush_and_render_terminal(progress_string)
└── Action: Uses ANSI/flush to overwrite terminal line cleanly