aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum/repl_darwin.go
diff options
context:
space:
mode:
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)