diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/commands/ls.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/commands/ls.c b/src/commands/ls.c index 36725f2..1c8384a 100644 --- a/src/commands/ls.c +++ b/src/commands/ls.c @@ -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) { |