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:
4
window.c
4
window.c
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user