mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
cmd/geth: change ctrl-c behaviour
ctrl-c clears the line, ctrl-d will quit the program
This commit is contained in:
parent
c32d6fdf74
commit
cdbb458fc9
1 changed files with 0 additions and 1 deletions
|
|
@ -208,7 +208,6 @@ func newJSRE(ethereum *eth.Ethereum, libPath, corsDomain string, client comms.Et
|
|||
} else {
|
||||
lr := liner.NewLiner()
|
||||
js.withHistory(func(hist *os.File) { lr.ReadHistory(hist) })
|
||||
lr.SetCtrlCAborts(true)
|
||||
js.loadAutoCompletion()
|
||||
lr.SetWordCompleter(apiWordCompleter)
|
||||
lr.SetTabCompletionStyle(liner.TabPrints)
|
||||
|
|
|
|||
Loading…
Reference in a new issue