about summary refs log tree commit diff stats
path: root/src/tools/http_common.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2023-06-06 18:35:18 +0200
committerGitHub <noreply@github.com>2023-06-06 18:35:18 +0200
commit6247c28e3116d85efce0f6e39552241d6de80966 (patch)
treee3cf13a08c70e667733fa777d4b9e2a70db42a4f /src/tools/http_common.c
parentd761e88ee62c0909275386258de345deef174174 (diff)
parent95e06ad16955f3b49c117cc6f2d53bf4da747154 (diff)
downloadprofani-tty-6247c28e3116d85efce0f6e39552241d6de80966.tar.gz
Merge pull request #1842 from H3rnand3zzz/feature/plugins-download
New Feature: Plugins Download
Diffstat (limited to 'src/tools/http_common.c')
-rw-r--r--src/tools/http_common.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tools/http_common.c b/src/tools/http_common.c
index 4192a6ca..02391e63 100644
--- a/src/tools/http_common.c
+++ b/src/tools/http_common.c
@@ -54,7 +54,11 @@ http_print_transfer_update(ProfWin* window, char* id, const char* fmt, ...)
     g_string_vprintf(msg, fmt, args);
     va_end(args);
 
-    win_update_entry_message(window, id, msg->str);
+    if (window->type != WIN_CONSOLE) {
+        win_update_entry_message(window, id, msg->str);
+    } else {
+        cons_show("%s", msg->str);
+    }
 
     g_string_free(msg, TRUE);
 }