From 3d3052e4366887a1e0e945398c85460b40ac7dcd Mon Sep 17 00:00:00 2001 From: nova Date: Sat, 31 May 2025 00:40:40 +0200 Subject: [PATCH] swapped up and down --- interactions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interactions.c b/interactions.c index 39e39c0..66d9211 100644 --- a/interactions.c +++ b/interactions.c @@ -27,13 +27,13 @@ void user_interactions(char *input, unsigned int *status, unsigned int *settings } else if (*input == 'h') { chdir(".."); *status |= (STATUS_RUN_BACKEND | STATUS_UPDATE_SCREEN_MASK); - } else if (*input == 'n') { + } else if (*input == 't') { pthread_mutex_lock(&mutex_selection); /* capping the maximum file is done inside thread_mid */ selected_file_current++; *status |= (STATUS_RUN_BACKEND | STATUS_UPDATE_SCREEN_MASK); pthread_mutex_unlock(&mutex_selection); - } else if (*input == 't') { + } else if (*input == 'n') { pthread_mutex_lock(&mutex_selection); if (selected_file_current != 0) { selected_file_current--;