diff options
author | Alexis211 <alexis211@gmail.com> | 2009-12-23 19:19:55 +0100 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-12-23 19:19:55 +0100 |
commit | e2d5d79bbc90d73f709953f04b2b0d1faac4d43e (patch) | |
tree | bde6f928e3a45ef66f4056cbc932bc21fe44cb31 /Source/Applications/Shell/Shell-fs.class.cpp | |
parent | 7ede286ebcb845fe4bfdfb948c6073573b01c3cb (diff) | |
download | Melon-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.cpp | 10 |
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"; } } } |