Allow customizing screen mode when using filter mode flag
Is your feature request related to a problem? Please describe.
When I launch lazygit using the -f flag to filter by a file to see its log history, it launches in full size screen mode showing the commits and I would rather see it in normal or half mode so that I can see the diff of each commit, but I'm not aware of any flag or option to specify this. Having to switch screen mode every time once lazygit launches is annoying and time consuming.
Describe the solution you'd like
Add a -s flag to specify the initial screen mode.
Describe alternatives you've considered
Adding an option in the config file to specify screenMode for filter mode, but that seems more complicated and limiting.
Additional context I'd be happy to try to implement this feature if this seems like a good idea.
Which version of lazygit are you using? In the current version, starting with -f starts in half-screen mode.
In addition, you can override the mode using the --screen-mode (or -sm) flag.
Which version of lazygit are you using? In the current version, starting with
-fstarts in half-screen mode.In addition, you can override the mode using the
--screen-mode(or-sm) flag.
Ah, indeed, I was still on version 0.44.1 which is probably a few weeks old now since I setup this computer recently. I should have checked for updates before raising this but I guess I didn't expect that to have changed recently; my bad. It does exactly what I want now. Thanks!