aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/ethereum/repl/repl.go
diff options
context:
space:
mode:
authorAlexandre Van de Sande <alex.vandesande@ethdev.com>2015-03-04 21:04:07 +0800
committerAlexandre Van de Sande <alex.vandesande@ethdev.com>2015-03-04 21:04:07 +0800
commit5f25c117eb6a1145b18fc13ebc03e4dc570b908e (patch)
treef5296850d29c08179ac9f51c925463d880e2db08 /cmd/ethereum/repl/repl.go
parentcf880f78d5e85d563654ac8277c1d51bf8c382c2 (diff)
parenta56243075a7527d65d14c4cf3480029feb0a1e3f (diff)
downloadgo-tangerine-5f25c117eb6a1145b18fc13ebc03e4dc570b908e.tar
go-tangerine-5f25c117eb6a1145b18fc13ebc03e4dc570b908e.tar.gz
go-tangerine-5f25c117eb6a1145b18fc13ebc03e4dc570b908e.tar.bz2
go-tangerine-5f25c117eb6a1145b18fc13ebc03e4dc570b908e.tar.lz
go-tangerine-5f25c117eb6a1145b18fc13ebc03e4dc570b908e.tar.xz
go-tangerine-5f25c117eb6a1145b18fc13ebc03e4dc570b908e.tar.zst
go-tangerine-5f25c117eb6a1145b18fc13ebc03e4dc570b908e.zip
Merge branch 'develop' into ui
Diffstat (limited to 'cmd/ethereum/repl/repl.go')
-rw-r--r--cmd/ethereum/repl/repl.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/ethereum/repl/repl.go b/cmd/ethereum/repl/repl.go
index 4a7880ff4..11b812617 100644
--- a/cmd/ethereum/repl/repl.go
+++ b/cmd/ethereum/repl/repl.go
@@ -60,6 +60,7 @@ func (self *JSRepl) Start() {
if !self.running {
self.running = true
repllogger.Infoln("init JS Console")
+
reader := bufio.NewReader(self.history)
for {
line, err := reader.ReadString('\n')