浏览代码

Allow skipping lines without error on memory tool (#621)

Leonardo 2 年之前
父节点
当前提交
5845e8773d
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      other/memory/Memory.hx

+ 2 - 0
other/memory/Memory.hx

@@ -892,6 +892,8 @@ class Memory {
 				if( v != null )
 					m.maxLines = Std.parseInt(v);
 				Sys.println(m.maxLines == 0 ? "Lines limit disabled" : m.maxLines + " maximum lines displayed");
+			case null:
+				Sys.println("");
 			default:
 				Sys.println("Unknown command " + cmd);
 			}