1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-10 04:07:18 +02:00
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
config Split commit message panel into commit summary and commit description panel 2023-04-30 12:17:34 +10:00
constants
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
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
utils enforce lowercase filenames 2023-04-29 13:05:05 +10:00