good morning!!!!

Skip to content
Snippets Groups Projects
Commit 6b5d077c authored by Viktor Trón's avatar Viktor Trón
Browse files

fix console history, lines with leadning whitespace NOT included

parent 77878f76
Branches
Tags
No related merge requests found
......@@ -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)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment