jesseduffield.lazygit/pkg/gui/controllers/helpers
Sean 49da7b482d Split commit message panel into commit summary and commit description panel
When we use the one panel for the entire commit message, its tricky to have a keybinding both for adding a newline and submitting.
By having two panels: one for the summary line and one for the description, we allow for 'enter' to submit the message when done from the summary panel,
and 'enter' to add a newline when done from the description panel. Alt-enter, for those who can use that key combo, also works for submitting the message
from the description panel. For those who can't use that key combo, and don't want to remap the keybinding, they can hit tab to go back to the summary panel
and then 'enter' to submit the message.

We have some awkwardness in that both contexts (i.e. panels) need to appear and disappear in tandem and we don't have a great way of handling that concept,
so we just push both contexts one after the other, and likewise remove both contexts when we escape.
2023-04-30 12:17:34 +10:00
..
amend_helper.go Extract amendHead function into new AmendHelper 2023-04-01 08:16:15 +02:00
bisect_helper.go pkg/gui: Rename IPopupHandler::Ask() to Confirm() 2022-03-30 20:13:43 +11:00
cherry_pick_helper.go pkg/gui: Rename IPopupHandler::Ask() to Confirm() 2022-03-30 20:13:43 +11:00
commits_helper.go Split commit message panel into commit summary and commit description panel 2023-04-30 12:17:34 +10:00
credentials_helper.go Add credential prompts for U2F-backed SSH keys 2022-11-30 13:34:32 +11:00
files_helper.go Remove line number support for "open" command 2023-04-13 13:14:00 +02:00
gpg_helper.go add commit message controller 2022-03-17 19:13:40 +11:00
helpers.go Split commit message panel into commit summary and commit description panel 2023-04-30 12:17:34 +10:00
host_helper.go refactor controllers 2022-03-17 19:13:40 +11:00
merge_and_rebase_helper.go chore: add focus on local commits after interactively rebase 2023-04-15 10:42:36 +02:00
merge_conflicts_helper.go move merge conflicts code into controller 2022-08-07 11:16:03 +10:00
patch_building_helper.go rename patch manager to patch builder 2023-03-19 16:35:57 +11:00
refs_helper.go stop switching focus to commits view when resetting 2022-11-13 03:26:50 +00:00
suggestions_helper.go support setting the author of a commit 2022-06-09 19:12:20 +10:00
tags_helper.go feat: support to create tag on branch 2023-02-19 23:31:46 +09:00
upstream_helper.go Fix github linter errors 2022-07-30 08:10:29 +02:00
upstream_helper_test.go Add option to (un)set upstream for a local branch 2022-04-11 14:04:06 +02:00
working_tree_helper.go Split commit message panel into commit summary and commit description panel 2023-04-30 12:17:34 +10:00