Przeglądaj źródła

Cleanup REPL.st

Nicolas Petton 13 lat temu
rodzic
commit
5195d6f326
1 zmienionych plików z 1 dodań i 7 usunięć
  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.