Skip comments instead of exiting

This commit is contained in:
Arne Keller 2020-02-16 16:25:01 +01:00
parent 9aa8cc2384
commit 07bc781c3d

View File

@ -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;