Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Evenly space statusline areas when there isn't space to align middle (#…
…9950) The refactor in bcf7b26 introduced a possible subtraction with overflow when the statusline is layed out so that the left or right sides are larger than the padding it would take to align the center area to the middle. When the left or right areas are too large, we can evenly space the elements rather than trying to align the center area to the middle. This prevents possible underflows and makes sense visually - it's still easy to tell the areas apart at a glance.
- Loading branch information