diff --git a/interactions.c b/interactions.c index 8f74ae6..3fdc364 100644 --- a/interactions.c +++ b/interactions.c @@ -93,6 +93,12 @@ void user_interactions() { pthread_mutex_unlock(&mutex_mid); timeout(SETTINGS_CURSES_TIMEOUT); /* blocking timeout of getch() */ + + #if SETTINGS_RELOAD_DIR_DELTA != 0 + /* workaround for file previews not working on changing file while this is true + * disabling this here does not influence the reload/rerun of the logic */ + status &= ~STATUS_DELTA_TIME; + #endif } else { binding_matches++; mvwprintw(stdscr, terminal_height-binding_matches-1, 0, "\t\t\t");