diff options
Diffstat (limited to 'ui/ui.go')
-rw-r--r-- | ui/ui.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -15,6 +15,7 @@ type Config struct { MemberColWidth int AutoComplete func(cursorIdx int, text []rune) []Completion Mouse bool + MergeLine func(former *Line, addition Line) } type UI struct { @@ -70,7 +71,7 @@ func New(config Config) (ui *UI, err error) { close(ui.Events) }() - ui.bs = NewBufferList() + ui.bs = NewBufferList(ui.config.MergeLine) ui.e = NewEditor(ui.config.AutoComplete) ui.Resize() |