user input now handled through function pointers, now defined in config.h

This commit is contained in:
nova
2025-06-15 20:14:53 +02:00
parent d2bde3a31c
commit 7c9af0d340
5 changed files with 82 additions and 48 deletions

View File

@ -1,5 +1,17 @@
#include <curses.h>
#include <pthread.h>
#ifndef CONFIG_GUARD
#define CONFIG_GUARD
#include "interactions.c"
#endif
void user_interactions(char *input, unsigned int *status, unsigned int *settings);
void user_interactions(char *input);
void quit_program();
void move_right();
void move_up();
void move_down();
void move_left();
void jump_bottom();
void jump_top();
void toggle_hidden_files();