#include #include #include void user_interactions(char *input, unsigned int *status, unsigned int *settings) { if (*input == 'q') { *status ^= 1; } else if (*input == *"KEY_BACKSPACE") { *settings ^= 1; } else if (*input == 'a') { *settings ^= 1; } else { } *status ^= 2; }