From cec92f59405a99a1c71d4b2e055dff92b6bfa10a Mon Sep 17 00:00:00 2001 From: Jeffrey Wilcke Date: Sat, 27 Feb 2016 16:58:27 +0100 Subject: [PATCH] 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. --- cmd/geth/js.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/geth/js.go b/cmd/geth/js.go index e7e28b24bd..a4b14d7b18 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) })