summaryrefslogtreecommitdiff
path: root/Source/Applications/Shell
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-12-20 15:21:26 +0100
committerAlexis211 <alexis211@gmail.com>2009-12-20 15:21:26 +0100
commitcab353cbb21c142ac1e227d42338fa587e1a7f24 (patch)
tree618c50ba58cc3186b3b82a3df2561063d4aaee85 /Source/Applications/Shell
parent07a73aea7acbf0d9f9182bc3557583aa17af0000 (diff)
downloadMelon-cab353cbb21c142ac1e227d42338fa587e1a7f24.tar.gz
Melon-cab353cbb21c142ac1e227d42338fa587e1a7f24.zip
Worked on IStream. Seems to work
Diffstat (limited to 'Source/Applications/Shell')
-rw-r--r--Source/Applications/Shell/Shell.class.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Applications/Shell/Shell.class.cpp b/Source/Applications/Shell/Shell.class.cpp
index bfbf631..a2eb490 100644
--- a/Source/Applications/Shell/Shell.class.cpp
+++ b/Source/Applications/Shell/Shell.class.cpp
@@ -26,7 +26,7 @@ int Shell::run() {
cwd = FS::cwdNode();
while (1) {
outvt << "{" << cwd.getName() << "}: " << FLUSH;
- String s = invt.readLine();
+ String s = invt.get();
if (s.empty()) continue;
while (s[0] == WChar(" ") or s[0] == WChar("\t")) {
s = s.substr(1, s.size() - 1);