14 lines
192 B
C
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;
|
|
}
|
|
}
|