Skip to content

Bulk asynchronous downloader for multiple file hosts

fix: clear program_ui before async_stratup

NTFSvolume3106a4d1a214
diff --git a/cyberdrop_dl/ui/program_ui.py b/cyberdrop_dl/ui/program_ui.py
index 77f15d972..0f4fa0b12 100644
--- a/cyberdrop_dl/ui/program_ui.py
+++ b/cyberdrop_dl/ui/program_ui.py
@@ -76,7 +76,10 @@ class ProgramUI:
answer = user_prompts.main_prompt(self.manager)
result = self._process_answer(answer, options_map)
- return result and result != DONE_CHOICE
+ return_to_main = result and result != DONE_CHOICE
+ if return_to_main:
+ clear_term()
+ return return_to_main
def _download(self) -> True:
"""Starts download process."""