浏览代码

Cleanup REPL.st

Nicolas Petton 13 年之前
父节点
当前提交
5195d6f326
共有 1 个文件被更改,包括 1 次插入7 次删除
  1. 1 7
      repl/REPL.st

+ 1 - 7
repl/REPL.st

@@ -12,13 +12,7 @@ prompt
 
 createInterface
 	"No completion for now"
-	"(readline createInterface numArgs < 3) 
-		ifTrue: [
-			console log: '0.4...'.
-			interface := readline createInterface: process stdin autocomplete: null.
-			stdin on: 'data' do: [:buffer | interface write: buffer]]
-		ifFalse: ["
-			interface := readline createInterface: process stdin stdout: process stdout" autocomplete: null]".
+	interface := readline createInterface: process stdin stdout: process stdout.
 	interface on: 'line' do: [:buffer  | self eval: buffer].
 	interface on: 'close' do: [self close].
 	self setPrompt.