diff --git a/src/edu/kit/informatik/ui/CommandLine.java b/src/edu/kit/informatik/ui/CommandLine.java index d4e8b54..bf52c52 100644 --- a/src/edu/kit/informatik/ui/CommandLine.java +++ b/src/edu/kit/informatik/ui/CommandLine.java @@ -23,9 +23,12 @@ public class CommandLine { while (true) { final String input = Terminal.readLine(); - if (input == null || input.startsWith("#")) { + if (input == null) { break; // TODO remove } + if (input.startsWith('#')) { + continue; // TODO remove + } if (input.equals(EXIT)) { break;