diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-10-24 07:18:52 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-10-24 07:18:52 +0800 |
commit | 0aeab5fd83acae44e63840bf5a20834e5b52ae78 (patch) | |
tree | ab35590828665c2d05fa32093ea04455ac239cf0 | |
parent | 77878f76a935061cee82ae9c2a1bc64b192b592b (diff) | |
parent | 6b5d077c09e8ba8419dc2aef4320e01cdd8d9dd9 (diff) | |
download | dexon-0aeab5fd83acae44e63840bf5a20834e5b52ae78.tar.gz dexon-0aeab5fd83acae44e63840bf5a20834e5b52ae78.tar.zst dexon-0aeab5fd83acae44e63840bf5a20834e5b52ae78.zip |
Merge pull request #1929 from ethersphere/develop
fix console history, lines with leadning whitespace NOT included
-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)) { |