diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-16 18:25:08 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-16 18:44:39 +1000 |
commit | c8add47fe747449110c802ef1ac23961bc1ec010 (patch) | |
tree | eddcca26717db533f66d180fe9ac51e1970d5928 /pkg/gui/files_panel.go | |
parent | 28cd827cea0ff360e6d989055bfdae835ddfcf30 (diff) |
move cursor to right when using auto prefix
Diffstat (limited to 'pkg/gui/files_panel.go')
-rw-r--r-- | pkg/gui/files_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/files_panel.go b/pkg/gui/files_panel.go index f2e081245..3aff8c3da 100644 --- a/pkg/gui/files_panel.go +++ b/pkg/gui/files_panel.go @@ -279,7 +279,7 @@ func (gui *Gui) handleWIPCommitPress(g *gocui.Gui, filesView *gocui.View) error return gui.createErrorPanel(gui.Tr.SLocalize("SkipHookPrefixNotConfigured")) } - gui.renderString("commitMessage", skipHookPreifx) + gui.renderStringSync("commitMessage", skipHookPreifx) if err := gui.getCommitMessageView().SetCursor(len(skipHookPreifx), 0); err != nil { return err } |