aboutsummaryrefslogtreecommitdiff
path: root/cs/step0_repl.cs
diff options
context:
space:
mode:
Diffstat (limited to 'cs/step0_repl.cs')
-rw-r--r--cs/step0_repl.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/cs/step0_repl.cs b/cs/step0_repl.cs
index 665aab6..de7a6de 100644
--- a/cs/step0_repl.cs
+++ b/cs/step0_repl.cs
@@ -1,6 +1,6 @@
using System;
using System.IO;
-using Mono.Terminal;
+using Mal;
namespace Mal {
class step0_repl {
@@ -26,12 +26,11 @@ namespace Mal {
static void Main(string[] args) {
string prompt = "user> ";
- LineEditor lineedit = new LineEditor("Mal");
while (true) {
string line;
try {
- line = lineedit.Edit(prompt, "");
+ line = Mal.readline.Readline(prompt);
if (line == null) { break; }
} catch (IOException e) {
Console.WriteLine("IOException: " + e.Message);