diff options
Diffstat (limited to 'ethereum/repl_windows.go')
-rw-r--r-- | ethereum/repl_windows.go | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/ethereum/repl_windows.go b/ethereum/repl_windows.go deleted file mode 100644 index 9d4787772..000000000 --- a/ethereum/repl_windows.go +++ /dev/null @@ -1,24 +0,0 @@ -package main - -import ( - "bufio" - "fmt" - "os" -) - -func (self *JSRepl) read() { - reader := bufio.NewReader(os.Stdin) - for { - fmt.Printf(self.prompt) - str, _, err := reader.ReadLine() - if err != nil { - fmt.Println("Error reading input", err) - } else { - self.parseInput(string(str)) - } - } -} - -func (self *JSRepl) PrintValue(value otto.Value) { - fmt.Println(value) -} |