workaround for file previews on delta time

This commit is contained in:
nova
2026-07-12 22:43:37 +02:00
parent c68b872d1e
commit a5fcd1985e
+6
View File
@@ -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");