1
0
mirror of https://gittea.dev/nova/th.git synced 2026-03-16 15:27:25 -04:00

check if dir is empty

This commit is contained in:
nova
2026-02-08 18:49:55 +01:00
parent f53fd66d88
commit 3d47e0410f

View File

@@ -42,7 +42,9 @@ void window_top(WINDOW *win){
mvwaddstr(win, 0, 0, top_buffer);
mvwaddch(win, 0, strlen(top_buffer), '/');
wattroff(win, COLOR_PAIR(COLOR_PATH));
mvwaddstr(win, 0, strlen(top_buffer)+1, mid_content[selected_file_current].file_name);
if (mid_file_count != 0) {
mvwaddstr(win, 0, strlen(top_buffer)+1, mid_content[selected_file_current].file_name);
}
}
pthread_mutex_unlock(&mutex_top);
} else {