diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-12-29 11:50:20 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-01-04 09:07:15 +1100 |
commit | 01ea5813a8e3b8e914332002e744e3328f55f6cd (patch) | |
tree | 5684bcf7f081c5230518394ddc732316e36674e7 /pkg/gui/editors.go | |
parent | 03b946cc8f9e94fe3fd53ac619ace2af2662aac2 (diff) |
align Gui struct with GitCommand
Diffstat (limited to 'pkg/gui/editors.go')
-rw-r--r-- | pkg/gui/editors.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/editors.go b/pkg/gui/editors.go index 430dcfdfe..054a36094 100644 --- a/pkg/gui/editors.go +++ b/pkg/gui/editors.go @@ -7,7 +7,7 @@ import ( ) func (gui *Gui) handleEditorKeypress(textArea *gocui.TextArea, key gocui.Key, ch rune, mod gocui.Modifier, allowMultiline bool) bool { - newlineKey, ok := gui.getKey(gui.Config.GetUserConfig().Keybinding.Universal.AppendNewline).(gocui.Key) + newlineKey, ok := gui.getKey(gui.UserConfig.Keybinding.Universal.AppendNewline).(gocui.Key) if !ok { newlineKey = gocui.KeyAltEnter } |