This commit is contained in:
Jeffrey Wilcke 2015-08-13 09:32:23 +00:00
commit 682ea7cd49

View file

@ -208,7 +208,6 @@ func newJSRE(ethereum *eth.Ethereum, libPath, corsDomain string, client comms.Et
} else { } else {
lr := liner.NewLiner() 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() js.loadAutoCompletion()
lr.SetWordCompleter(apiWordCompleter) lr.SetWordCompleter(apiWordCompleter)
lr.SetTabCompletionStyle(liner.TabPrints) lr.SetTabCompletionStyle(liner.TabPrints)