aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum/repl_darwin.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-06-27 01:54:09 +0800
committerobscuren <geffobscura@gmail.com>2014-06-27 01:54:09 +0800
commit3777ead25e1acedc0571a48a485976eb5c36fb30 (patch)
tree38419590b42a20a51773e178acbbb3178ee89bf2 /ethereum/repl_darwin.go
parentcba47963113d8041281278d75ee0dad046798e82 (diff)
parenta68bfd215f7b1859c1b14b0df59f3260b35df828 (diff)
downloaddexon-3777ead25e1acedc0571a48a485976eb5c36fb30.tar.gz
dexon-3777ead25e1acedc0571a48a485976eb5c36fb30.tar.zst
dexon-3777ead25e1acedc0571a48a485976eb5c36fb30.zip
Merge branch 'release/0.5.15'
Diffstat (limited to 'ethereum/repl_darwin.go')
-rw-r--r--ethereum/repl_darwin.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/ethereum/repl_darwin.go b/ethereum/repl_darwin.go
index b61d4edd7..62b40059a 100644
--- a/ethereum/repl_darwin.go
+++ b/ethereum/repl_darwin.go
@@ -102,7 +102,9 @@ L:
break L
}
- addHistory(str[:len(str)-1]) //allow user to recall this line
+ hist := str[:len(str)-1]
+ addHistory(hist) //allow user to recall this line
+ self.history.WriteString(str)
self.parseInput(str)