diff options
author | zelig <viktor.tron@gmail.com> | 2015-10-24 02:37:12 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-10-24 02:37:12 +0800 |
commit | 6b5d077c09e8ba8419dc2aef4320e01cdd8d9dd9 (patch) | |
tree | ab35590828665c2d05fa32093ea04455ac239cf0 /cmd/geth | |
parent | 77878f76a935061cee82ae9c2a1bc64b192b592b (diff) | |
download | dexon-6b5d077c09e8ba8419dc2aef4320e01cdd8d9dd9.tar dexon-6b5d077c09e8ba8419dc2aef4320e01cdd8d9dd9.tar.gz dexon-6b5d077c09e8ba8419dc2aef4320e01cdd8d9dd9.tar.bz2 dexon-6b5d077c09e8ba8419dc2aef4320e01cdd8d9dd9.tar.lz dexon-6b5d077c09e8ba8419dc2aef4320e01cdd8d9dd9.tar.xz dexon-6b5d077c09e8ba8419dc2aef4320e01cdd8d9dd9.tar.zst dexon-6b5d077c09e8ba8419dc2aef4320e01cdd8d9dd9.zip |
fix console history, lines with leadning whitespace NOT included
Diffstat (limited to 'cmd/geth')
-rw-r--r-- | cmd/geth/js.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/geth/js.go b/cmd/geth/js.go index 8ebb04bce..7f7f19d78 100644 --- a/cmd/geth/js.go +++ b/cmd/geth/js.go @@ -439,7 +439,7 @@ func (self *jsre) interactive() { func mustLogInHistory(input string) bool { return len(input) == 0 || passwordRegexp.MatchString(input) || - leadingSpace.MatchString(input) + !leadingSpace.MatchString(input) } func (self *jsre) withHistory(datadir string, op func(*os.File)) { |