From a5fcd1985ed084c01cd836eb9bd9e2410527a580 Mon Sep 17 00:00:00 2001 From: nova Date: Sun, 12 Jul 2026 22:43:37 +0200 Subject: [PATCH] workaround for file previews on delta time --- interactions.c | 6 ++++++ 1 file changed, 6 insertions(+) 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");