good morning!!!!

Skip to content
Snippets Groups Projects
Commit 29297d3b authored by Bas van Kervel's avatar Bas van Kervel
Browse files

fixed bug where history file was create in cwd

parent ce5c94e4
Branches
Tags
No related merge requests found
......@@ -157,7 +157,7 @@ func newLightweightJSRE(libPath string, client comms.EthereumClient, interactive
js.prompter = dumbterm{bufio.NewReader(os.Stdin)}
} else {
lr := liner.NewLiner()
//js.withHistory(func(hist *os.File) { lr.ReadHistory(hist) })
js.withHistory(func(hist *os.File) { lr.ReadHistory(hist) })
lr.SetCtrlCAborts(true)
js.loadAutoCompletion()
lr.SetWordCompleter(apiWordCompleter)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment