jesseduffield.lazygit/pkg
Jesse Duffield a5ee61c117 Properly fix accordion issue
The true issue was that we were focusing the line in the view before it gets resized in the layout function.
This meant if the view was squashed in accordion mode, the view wouldn't know how to set the cursor/origin to
focus the line.

Now we've got a queue of 'after layout' functions i.e. functions to call at the end of the layout function,
right before views are drawn.

The only caveat is that we can't have an infinite buffer so we're arbitrarily capping it at 1000 and dropping
functions if we exceed that limit. But that really should never happen.
2023-07-19 21:16:27 +10:00
..
app Do not quote initial branch arg when creating repo 2023-07-11 17:18:58 +10:00
cheatsheet Use sentence case everywhere 2023-05-25 23:52:19 +10:00
commands Fix crash when a background fetch prompts for credentials 2023-07-18 18:53:35 +02:00
common introduce Common struct for passing around common stuff 2022-01-04 09:07:15 +11:00
config config: rely on .gitconfig for verbose commit messages 2023-07-14 07:56:09 +02: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 Properly fix accordion issue 2023-07-19 21:16:27 +10:00
i18n Fix potentially wrong help text in commit message panel 2023-07-15 13:03:13 +02:00
integration Allow checking for merge conflicts after running a custom command 2023-07-13 18:40:34 +10:00
logs Allow global logging when developing 2023-05-25 18:31:32 +10:00
secureexec Cache binary paths 2023-05-23 19:15:33 +10:00
snake integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
tasks Refactor 2023-07-10 17:12:21 +10:00
theme Color view frame differently when searching/filtering 2023-07-03 12:54:14 +10:00
updates Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
utils View filtering (#2680) 2023-07-03 12:57:11 +10:00