From c712d7f6f801b073920c7b914ee1b95358113893 Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Sun, 8 Nov 2009 16:51:30 +0100 Subject: Introduced V86 mode. It really fits in nicely :) --- Source/Applications/Shell/Shell.ns.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/Applications') diff --git a/Source/Applications/Shell/Shell.ns.cpp b/Source/Applications/Shell/Shell.ns.cpp index cd091d5..d34c360 100644 --- a/Source/Applications/Shell/Shell.ns.cpp +++ b/Source/Applications/Shell/Shell.ns.cpp @@ -26,11 +26,12 @@ u32int run() { while (1) { outvt << "{" << cwd.getName() << "}: "; String s = invt.readLine(); + if (s.empty()) continue; while (s[0] == WChar(" ") or s[0] == WChar("\t")) { s = s.substr(1, s.size() - 1); } - if (s[0] == WChar("#")) continue; if (s.empty()) continue; + if (s[0] == WChar("#")) continue; //Parse string Vector cmd; -- cgit v1.2.3