Explorar o código

Cleanup REPL.st

Nicolas Petton %!s(int64=13) %!d(string=hai) anos
pai
achega
5195d6f326
Modificáronse 1 ficheiros con 1 adicións e 7 borrados
  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.