diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2016-02-27 23:58:27 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2016-02-27 23:58:27 +0800 |
commit | cec92f59405a99a1c71d4b2e055dff92b6bfa10a (patch) | |
tree | 2679f01024244ca96fe52150464d29019a699494 | |
parent | 85865a51b63cdbeaabb76a3729f9b8361a2616d7 (diff) | |
download | dexon-cec92f59405a99a1c71d4b2e055dff92b6bfa10a.tar.gz dexon-cec92f59405a99a1c71d4b2e055dff92b6bfa10a.tar.zst dexon-cec92f59405a99a1c71d4b2e055dff92b6bfa10a.zip |
cmd/geth: removed multiline support
When attempting to paste very long lines of text the REPL goes
completely fubar, never completing the paste. Removing the multiline
support "fixes" this.
Long lines of text are usually pasted when deploying contracts and as it
stands right now makes creating new contracts from the REPL impossible.
-rw-r--r-- | cmd/geth/js.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/geth/js.go b/cmd/geth/js.go index e7e28b24b..a4b14d7b1 100644 --- a/cmd/geth/js.go +++ b/cmd/geth/js.go @@ -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) }) |