From 95e06ad16955f3b49c117cc6f2d53bf4da747154 Mon Sep 17 00:00:00 2001 From: John Hernandez <129467592+H3rnand3zzz@users.noreply.github.com> Date: Wed, 19 Apr 2023 14:19:47 +0200 Subject: Add url support (downloading) to `/plugins install` Additional changes include code refactoring. --- src/tools/http_common.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/tools/http_common.c') 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); } -- cgit 1.4.1-2-gfad0