From bf501ededae2bc0a47c22cd1993b5059ed080886 Mon Sep 17 00:00:00 2001 From: b1ek Date: Mon, 20 Mar 2023 21:02:34 +1000 Subject: [PATCH] use \t for displaying ls output --- src/emulator/commands/ls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emulator/commands/ls.js b/src/emulator/commands/ls.js index be24307..fc09b81 100644 --- a/src/emulator/commands/ls.js +++ b/src/emulator/commands/ls.js @@ -56,7 +56,7 @@ module.exports = (argv, terminal) => { files.forEach((file, i) => { if (!long_format) - terminal.write(file + '\033[0m '); + terminal.write(file + '\033[0m\t'); else terminal.writeln('drwx-xr-x 1 nobody nobody 4.0K Jan 1 13 01:00 ' + file); if ((i+1) % 5 == 0)