mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
If the showDivergenceFromBaseBranch config is not none, the expanded branches panel would no longer show the remote branch and subject; the reason was that we padded the name all the way to the right edge of the view so that the divergence information is right-aligned. To fix this, we simply don't right-align the divergence in half or full screen mode. This is a bit unfortunate, but it's hard to do any better, because we don't know the width of our column in advance. One thing I tried is to make the divergence a separate column in that case (with an explicit right-alignment set on it via getColumnAlignments; however, this makes it harder to properly truncate the name when the window is too narrow. |
||
|---|---|---|
| .. | ||
| authors | ||
| graph | ||
| icons | ||
| branches.go | ||
| branches_test.go | ||
| commits.go | ||
| commits_test.go | ||
| files.go | ||
| files_test.go | ||
| item_operations.go | ||
| loader.go | ||
| reflog_commits.go | ||
| remote_branches.go | ||
| remotes.go | ||
| stash_entries.go | ||
| status.go | ||
| submodules.go | ||
| suggestions.go | ||
| tags.go | ||
| worktrees.go | ||
| worktrees_test.go | ||