summaryrefslogtreecommitdiff
path: root/Source/Applications/Shell/Shell-fs.class.cpp
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-12-20 13:33:28 +0100
committerAlexis211 <alexis211@gmail.com>2009-12-20 13:33:28 +0100
commit07a73aea7acbf0d9f9182bc3557583aa17af0000 (patch)
tree983e7b70b4d836c4050b8f350d7bd1e7250058b4 /Source/Applications/Shell/Shell-fs.class.cpp
parenta804601188be682ce87e6a9591286e8c8ab2817d (diff)
downloadMelon-07a73aea7acbf0d9f9182bc3557583aa17af0000.tar.gz
Melon-07a73aea7acbf0d9f9182bc3557583aa17af0000.zip
[not really working] Started work on OStream
Diffstat (limited to 'Source/Applications/Shell/Shell-fs.class.cpp')
-rw-r--r--Source/Applications/Shell/Shell-fs.class.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Applications/Shell/Shell-fs.class.cpp b/Source/Applications/Shell/Shell-fs.class.cpp
index 150b877..30faaf7 100644
--- a/Source/Applications/Shell/Shell-fs.class.cpp
+++ b/Source/Applications/Shell/Shell-fs.class.cpp
@@ -28,11 +28,11 @@ void Shell::ls(Vector<String>& args) {
if (((p >> i) & 1) == 0) perm[8 - i] = "-";
}
if (n.type() == NT_FILE) {
- outvt << " FILE " << perm << " " << n.getName();
+ outvt << " FILE " << perm << " " << n.getName() << FLUSH;
outvt.setCsrCol(30);
outvt << (s32int)n.getLength() << " bytes.\n";
} else if (n.type() == NT_DIRECTORY) {
- outvt << " DIR " << perm << " " << n.getName() << "/";
+ outvt << " DIR " << perm << " " << n.getName() << "/" << FLUSH;
outvt.setCsrCol(30);
outvt << (s32int)n.getLength() << " items.\n";
}