summaryrefslogtreecommitdiff
path: root/Source/Applications/Shell/Shell-fs.class.cpp
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-12-23 19:19:55 +0100
committerAlexis211 <alexis211@gmail.com>2009-12-23 19:19:55 +0100
commite2d5d79bbc90d73f709953f04b2b0d1faac4d43e (patch)
treebde6f928e3a45ef66f4056cbc932bc21fe44cb31 /Source/Applications/Shell/Shell-fs.class.cpp
parent7ede286ebcb845fe4bfdfb948c6073573b01c3cb (diff)
downloadMelon-e2d5d79bbc90d73f709953f04b2b0d1faac4d43e.tar.gz
Melon-e2d5d79bbc90d73f709953f04b2b0d1faac4d43e.zip
Changed the way virtual terminal commands are handled
These commands include those for moving the cursor, showing/hiding it, changing the color, ...
Diffstat (limited to 'Source/Applications/Shell/Shell-fs.class.cpp')
-rw-r--r--Source/Applications/Shell/Shell-fs.class.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/Source/Applications/Shell/Shell-fs.class.cpp b/Source/Applications/Shell/Shell-fs.class.cpp
index 30faaf7..23af339 100644
--- a/Source/Applications/Shell/Shell-fs.class.cpp
+++ b/Source/Applications/Shell/Shell-fs.class.cpp
@@ -28,13 +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() << FLUSH;
- outvt.setCsrCol(30);
- outvt << (s32int)n.getLength() << " bytes.\n";
+ outvt << " FILE " << perm << " " << n.getName();
+ outvt << MVT::setcsrcol(35) << (s32int)n.getLength() << " bytes.\n";
} else if (n.type() == NT_DIRECTORY) {
- outvt << " DIR " << perm << " " << n.getName() << "/" << FLUSH;
- outvt.setCsrCol(30);
- outvt << (s32int)n.getLength() << " items.\n";
+ outvt << " DIR " << perm << " " << n.getName() << "/";
+ outvt << MVT::setcsrcol(35) << (s32int)n.getLength() << " items.\n";
}
}
}