R: compromises between process_server_command and callbacks

This commit is contained in:
2026-03-24 12:56:10 +02:00
parent 7755fa0a81
commit dc6a25acac
4 changed files with 18 additions and 9 deletions
+4
View File
@@ -2,6 +2,7 @@
/* Copyright (c) 2026 Oleksandr Zhylin */
#include "app.h"
#include "file_list.h"
#include <locale.h>
#include <ncursesw/ncurses.h>
#include <netinet/in.h>
@@ -45,6 +46,9 @@ app_t *init_app() {
/* default win */
_app->active_win_type = aw_left;
/* default callback */
_app->active_callback = file_list_cb;
/* print decorative bars */
print_bars(_app);