workaround for file previews on delta time
This commit is contained in:
@@ -93,6 +93,12 @@ void user_interactions() {
|
|||||||
pthread_mutex_unlock(&mutex_mid);
|
pthread_mutex_unlock(&mutex_mid);
|
||||||
|
|
||||||
timeout(SETTINGS_CURSES_TIMEOUT); /* blocking timeout of getch() */
|
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 {
|
} else {
|
||||||
binding_matches++;
|
binding_matches++;
|
||||||
mvwprintw(stdscr, terminal_height-binding_matches-1, 0, "\t\t\t");
|
mvwprintw(stdscr, terminal_height-binding_matches-1, 0, "\t\t\t");
|
||||||
|
|||||||
Reference in New Issue
Block a user