use \t for displaying ls output

This commit is contained in:
b1ek 2023-03-20 21:02:34 +10:00
parent d20c29d042
commit bf501ededa
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ module.exports = (argv, terminal) => {
files.forEach((file, i) => { files.forEach((file, i) => {
if (!long_format) if (!long_format)
terminal.write(file + '\033[0m '); terminal.write(file + '\033[0m\t');
else else
terminal.writeln('drwx-xr-x 1 nobody nobody 4.0K Jan 1 13 01:00 ' + file); terminal.writeln('drwx-xr-x 1 nobody nobody 4.0K Jan 1 13 01:00 ' + file);
if ((i+1) % 5 == 0) if ((i+1) % 5 == 0)