From cdbb458fc9019870ac247f0a7bc8104badac262c Mon Sep 17 00:00:00 2001 From: Jeffrey Wilcke Date: Tue, 11 Aug 2015 18:52:10 +0200 Subject: [PATCH] cmd/geth: change ctrl-c behaviour ctrl-c clears the line, ctrl-d will quit the program --- cmd/geth/js.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/geth/js.go b/cmd/geth/js.go index bf56423ece..b08b3e69bb 100644 --- a/cmd/geth/js.go +++ b/cmd/geth/js.go @@ -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)