ui: brings back text centering in modals | fixes error on exit | small clean-up

This commit is contained in:
2026-01-05 16:09:23 +02:00
parent 23fda5232d
commit bdb194679e
21 changed files with 96 additions and 61 deletions
+1 -2
View File
@@ -20,8 +20,7 @@ void connect_to_server(app_t *app) {
if (-1 ==
connect(app->params->sd, (struct sockaddr *)&server, sizeof(server))) {
perror("connect");
destroy_app(app);
exit(2);
destroy_app(app, 2);
}
app->params->is_connected = TRUE;
print_bars(app);