jesseduffield / jesseduffield/lazygit

Automaticaly adjust side panels height based on content

Open
#3,940 0 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

**Is your feature request related to a problem? Please describe.**
I was playing with portrait mode and `enlargedSideViewLocation: top`. Side panels often contain 1-3 lines but take up a lot of screen space.

**Describe the solution you'd like**
I'd like an option that enables automatic height adjustment for side panes based on their content. So for example the "Status" pane would only occupy one line.

**Describe alternatives you've considered**
Currently, the `sidePanelWidth` option hardcodes the width/height. And `expandFocusedSidePanel: true` expands focused pane but does not respect the content yet.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.