aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum/repl_darwin.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-23 20:37:03 +0800
committerobscuren <geffobscura@gmail.com>2014-05-23 20:37:03 +0800
commitd35380c19e5ce92b57158e7780f7105dc4136916 (patch)
tree44b358714448d492dcf8cdcddb4d1e6e57c4318b /ethereum/repl_darwin.go
parent5f8911f7cba2cf837d891735f46b02b34e4fc228 (diff)
downloaddexon-d35380c19e5ce92b57158e7780f7105dc4136916.tar
dexon-d35380c19e5ce92b57158e7780f7105dc4136916.tar.gz
dexon-d35380c19e5ce92b57158e7780f7105dc4136916.tar.bz2
dexon-d35380c19e5ce92b57158e7780f7105dc4136916.tar.lz
dexon-d35380c19e5ce92b57158e7780f7105dc4136916.tar.xz
dexon-d35380c19e5ce92b57158e7780f7105dc4136916.tar.zst
dexon-d35380c19e5ce92b57158e7780f7105dc4136916.zip
New main script through init return value
Diffstat (limited to 'ethereum/repl_darwin.go')
-rw-r--r--ethereum/repl_darwin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereum/repl_darwin.go b/ethereum/repl_darwin.go
index fa36b0d52..b61d4edd7 100644
--- a/ethereum/repl_darwin.go
+++ b/ethereum/repl_darwin.go
@@ -102,7 +102,7 @@ L:
break L
}
- addHistory(str) //allow user to recall this line
+ addHistory(str[:len(str)-1]) //allow user to recall this line
self.parseInput(str)