mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-27 08:07:22 +00:00
Merge pull request #2269 from obscuren/repl-multi-line
cmd/geth: removed multiline support
This commit is contained in:
commit
7cbcae3fac
1 changed files with 0 additions and 1 deletions
|
|
@ -119,7 +119,6 @@ func newLightweightJSRE(docRoot string, client rpc.Client, datadir string, inter
|
|||
lr.SetCtrlCAborts(true)
|
||||
lr.SetWordCompleter(makeCompleter(js))
|
||||
lr.SetTabCompletionStyle(liner.TabPrints)
|
||||
lr.SetMultiLineMode(true)
|
||||
js.prompter = lr
|
||||
js.atexit = func() {
|
||||
js.withHistory(datadir, func(hist *os.File) { hist.Truncate(0); lr.WriteHistory(hist) })
|
||||
|
|
|
|||
Loading…
Reference in a new issue