Commit 29297d3b authored by Bas van Kervel's avatar Bas van Kervel Committed by Bas van Kervel

fixed bug where history file was create in cwd

parent ce5c94e4
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment