jesseduffield.lazygit/pkg
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
..
app extract out function 2023-04-15 17:26:08 +10:00
cheatsheet Split commit message panel into commit summary and commit description panel 2023-04-30 12:17:34 +10:00
commands Split commit message panel into commit summary and commit description panel 2023-04-30 12:17:34 +10:00
common introduce Common struct for passing around common stuff 2022-01-04 09:07:15 +11:00
config Split commit message panel into commit summary and commit description panel 2023-04-30 12:17:34 +10:00
constants update release notes 2021-04-20 18:34:47 +10:00
env clearer separation of concerns when bootstrapping application 2022-05-07 16:02:04 +10:00
fakes cleanup integration test code 2023-02-26 12:54:13 +11:00
gui Split commit message panel into commit summary and commit description panel 2023-04-30 12:17:34 +10:00
i18n Split commit message panel into commit summary and commit description panel 2023-04-30 12:17:34 +10:00
integration Split commit message panel into commit summary and commit description panel 2023-04-30 12:17:34 +10:00
logs clearer separation of concerns when bootstrapping application 2022-05-07 16:02:04 +10:00
secureexec Format code to pass lint 2021-09-16 21:38:43 +08:00
snake integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
tasks prevent unnecessary re-renders of view 2023-04-02 15:44:05 +10:00
theme Fix setting gui.selectedRangeBgColor as a hex value 2023-03-03 08:46:43 +01:00
updates pkg/updates: Fix resource availability check in Updater 2022-03-18 22:19:45 +11:00
utils enforce lowercase filenames 2023-04-29 13:05:05 +10:00