ui: notification when a file is downloaded

This commit is contained in:
2025-12-31 18:35:22 +02:00
parent 48460e4aa2
commit fded75e3a8
8 changed files with 90 additions and 11 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ int process_server_command(char *line, int l_len, query_args_t *q_args) {
/* WELCOME MES */
if (!strncmp(line, "Welcome, ", ws_pos)) {
write(q_args->sd, "file list", sizeof("file list"));
write(q_args->sd, "file list\n", sizeof("file list\n")-1);
q_args->state = S_FILE_LIST;
return 0;
}