th/interactions.c
2025-02-27 18:54:23 +01:00

14 lines
192 B
C

#include <curses.h>
#include <dirent.h>
#include <unistd.h>
void user_interactions(char *input, unsigned int *status) {
if (*input == 'q') {
*status ^= 1;
}
else {
*status ^= 2;
}
}