aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/ethereum/repl/repl.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-03-02 21:06:08 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-03-02 21:06:08 +0800
commit4cb0bfe9395f3a45fcea00bc753cbd2c20ca78e8 (patch)
tree1cc4369855586a5b59406d09299e89f8e3f9142d /cmd/ethereum/repl/repl.go
parentcfe037028081ebb84ee35caa5b16fed5d125b58a (diff)
parent65cad14f9b27db396d036f47814d4843d947ac43 (diff)
downloadgo-tangerine-4cb0bfe9395f3a45fcea00bc753cbd2c20ca78e8.tar
go-tangerine-4cb0bfe9395f3a45fcea00bc753cbd2c20ca78e8.tar.gz
go-tangerine-4cb0bfe9395f3a45fcea00bc753cbd2c20ca78e8.tar.bz2
go-tangerine-4cb0bfe9395f3a45fcea00bc753cbd2c20ca78e8.tar.lz
go-tangerine-4cb0bfe9395f3a45fcea00bc753cbd2c20ca78e8.tar.xz
go-tangerine-4cb0bfe9395f3a45fcea00bc753cbd2c20ca78e8.tar.zst
go-tangerine-4cb0bfe9395f3a45fcea00bc753cbd2c20ca78e8.zip
Merge branch 'develop' of github.com:ethereum/go-ethereum into removews
Conflicts: cmd/ethereum/flags.go cmd/mist/flags.go
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')