Explorar el Código

Cleanup REPL.st

Nicolas Petton hace 13 años
padre
commit
5195d6f326
Se han modificado 1 ficheros con 1 adiciones y 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.