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

Compare commits

..

1 Commits

Author SHA1 Message Date
nova
3d47e0410f check if dir is empty 2026-02-08 18:49:55 +01:00

View File

@@ -42,7 +42,9 @@ void window_top(WINDOW *win){
mvwaddstr(win, 0, 0, top_buffer); mvwaddstr(win, 0, 0, top_buffer);
mvwaddch(win, 0, strlen(top_buffer), '/'); mvwaddch(win, 0, strlen(top_buffer), '/');
wattroff(win, COLOR_PAIR(COLOR_PATH)); 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); pthread_mutex_unlock(&mutex_top);
} else { } else {