mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-02 09:33:46 +00:00
fix console history, lines with leadning whitespace NOT included
This commit is contained in:
parent
77878f76a9
commit
6b5d077c09
1 changed files with 1 additions and 1 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue