summaryrefslogtreecommitdiff
path: root/src/commands/ls.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/commands/ls.c3
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) {