code base good enough to actually progress
This commit is contained in:
@ -13,13 +13,17 @@ void user_interactions(char *input, unsigned int *status, unsigned int *settings
|
||||
file_modifiers ^= FILE_MODIFIERS_HIDDEN_FILES;
|
||||
} else if (*input == 'a') {
|
||||
file_modifiers ^= FILE_MODIFIERS_HIDDEN_FILES;
|
||||
*status |= (STATUS_RUN_BACKEND | STATUS_UPDATE_SCREEN_MASK);
|
||||
} else if (*input == 'o') {
|
||||
file_modifiers ^= FILE_MODIFIERS_SORT_BITMASK;
|
||||
} else if (*input == 'e') {
|
||||
file_modifiers ^= FILE_MODIFIERS_SORT_ALPHABETIC;
|
||||
} else if (*input == 'u') {
|
||||
*status |= (STATUS_RUN_BACKEND | STATUS_UPDATE_SCREEN_MASK);
|
||||
} else if (*input == 'h') {
|
||||
chdir("..");
|
||||
*status |= (STATUS_RUN_BACKEND | STATUS_UPDATE_SCREEN_MASK);
|
||||
|
||||
} else {
|
||||
}
|
||||
*status |= (STATUS_RUN_BACKEND | STATUS_UPDATE_SCREEN_0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user