diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go index 624cf2b5f..969c8c942 100644 --- a/pkg/gui/gui.go +++ b/pkg/gui/gui.go @@ -549,7 +549,7 @@ func (gui *Gui) layout(g *gocui.Gui) error { case SCREEN_NORMAL: leftSideWidth = int(float64(width) * sidePanelWidthRatio) case SCREEN_HALF: - leftSideWidth = width / 2 + leftSideWidth = width/2 - 2 case SCREEN_FULL: currentView := gui.g.CurrentView() if currentView != nil && currentView.Name() == "main" {