Allow to "zoom in" on either the main or detail panel
When working with a narrow terminal window, the fixed 50/50 split isn't quite ideal.
This allows to change the split from 50/50 to a 80/20 or 20/80 split. Zooming is controlled by the left and right arrow keys moving through the splits in this order:
80/20, 50/50, 20/80
When switching to a tab, the zoom is always reset to 50/50.
Hey, this would be great to be integrated with the new layout-percentage option added in https://github.com/Cretezy/lazyjj/pull/81.
I think what we could do is make the "zoom" 50% bigger.
So if layout-precent is 50 (default), zoom would be 75/25 or 25/75. And if layout-precent is 70, zoom would be 85/15 or 15/85.
@dotdash can you rebase this PR? I would like to have this feature (or a similar one) as well. Another option is to add a command to toggle display of the details panel. This would give even more screen-estate to the log on a narrow terminal. I think the user interface of gitui is a good source of inspiration.