fix missing newline on single row output

This commit is contained in:
Freya Murphy 2023-04-28 13:19:23 -04:00
parent 5b710c02b4
commit ce4f9f838d

View file

@ -218,6 +218,9 @@ static void list_files(struct FileInfo* files, int file_len, struct FileListInfo
}
}
}
if (info.total_len <= w.ws_col) printf("\n");
}
static bool is_dot_dir(const char* path) {