diff options
author | Felix Lange <fjl@twurst.com> | 2016-11-04 02:51:37 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-11-04 02:57:04 +0800 |
commit | 0b8a14fed70e6e7107094c96858a36784444326b (patch) | |
tree | a0e4a82f2d0984d036738a75754ffbdce943743f /console | |
parent | ac9013162e51aad9525fcac084973a0cfbc1575a (diff) | |
download | dexon-0b8a14fed70e6e7107094c96858a36784444326b.tar dexon-0b8a14fed70e6e7107094c96858a36784444326b.tar.gz dexon-0b8a14fed70e6e7107094c96858a36784444326b.tar.bz2 dexon-0b8a14fed70e6e7107094c96858a36784444326b.tar.lz dexon-0b8a14fed70e6e7107094c96858a36784444326b.tar.xz dexon-0b8a14fed70e6e7107094c96858a36784444326b.tar.zst dexon-0b8a14fed70e6e7107094c96858a36784444326b.zip |
console: enable multiline mode
Diffstat (limited to 'console')
-rw-r--r-- | console/prompter.go | 2 |
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 } |