1
0
mirror of https://gittea.dev/nova/th.git synced 2025-10-21 18:30:15 -04:00

created dir.c & .h, improved header file handling

This commit is contained in:
nova
2025-08-17 00:54:13 +02:00
parent 9ea82511e6
commit 2af21a0875
14 changed files with 337 additions and 297 deletions

View File

@@ -1,15 +1,11 @@
#include <curses.h>
#include <pthread.h>
#include <dirent.h>
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <signal.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include "file_previews.h"
#include "backend.h"
#include "defines.h"
#include "config.h"
#include "config.h"
extern volatile unsigned long selected_file_current;
@@ -55,7 +51,6 @@ void FAIL(char *function, char *str){
curs_set(1);
echo();
printf("ERROR in function %s: %s", function, str);
kill(getpid(),9);
}
void user_interactions() {