From 00415ea55faa52809d1f1fea8c43ebf09ae58cb6 Mon Sep 17 00:00:00 2001 From: Yuuki Wesp Date: Wed, 20 May 2020 11:25:50 +0300 Subject: [PATCH] fix --- vm/csharp/Program.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vm/csharp/Program.cs b/vm/csharp/Program.cs index a4b5467..25cab71 100644 --- a/vm/csharp/Program.cs +++ b/vm/csharp/Program.cs @@ -106,6 +106,7 @@ public static async Task Main(string[] args) DeviceLoader.OnTrace += Console.WriteLine; Module.Boot(); + InternalVMFunctions.Setup(bus); DeviceLoader.AutoGrub(bus.Add); if (AppFlag.GetVariable("REPL")) @@ -140,6 +141,8 @@ public static void InteractiveConstruction(Bus bus) var input = Console.ReadLine(); if (input is null) continue; + if (input == "exit") + return; if (input.StartsWith("0x")) {