use \t for displaying ls output
This commit is contained in:
parent
d20c29d042
commit
bf501ededa
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue