aboutsummaryrefslogtreecommitdiffstats
path: root/console
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-11-04 02:51:37 +0800
committerFelix Lange <fjl@twurst.com>2016-11-04 02:57:04 +0800
commit0b8a14fed70e6e7107094c96858a36784444326b (patch)
treea0e4a82f2d0984d036738a75754ffbdce943743f /console
parentac9013162e51aad9525fcac084973a0cfbc1575a (diff)
downloadgo-tangerine-0b8a14fed70e6e7107094c96858a36784444326b.tar.gz
go-tangerine-0b8a14fed70e6e7107094c96858a36784444326b.tar.zst
go-tangerine-0b8a14fed70e6e7107094c96858a36784444326b.zip
console: enable multiline mode
Diffstat (limited to 'console')
-rw-r--r--console/prompter.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/console/prompter.go b/console/prompter.go
index 0e4a8a53e..5946d9ece 100644
--- a/console/prompter.go
+++ b/console/prompter.go
@@ -95,7 +95,7 @@ func newTerminalPrompter() *terminalPrompter {
}
p.SetCtrlCAborts(true)
p.SetTabCompletionStyle(liner.TabPrints)
-
+ p.SetMultiLineMode(true)
return p
}