diff --git a/internal/tui/view.go b/internal/tui/view.go index 1725a53..ba36302 100644 --- a/internal/tui/view.go +++ b/internal/tui/view.go @@ -11,7 +11,6 @@ import ( zone "github.com/lrstanley/bubblezone" ) - // ansiRegex is used to strip ANSI escape codes from strings. var ansiRegex = regexp.MustCompile(`\x1b\[[0-9;]*m`) @@ -107,12 +106,10 @@ func (m Model) renderMainView() string { leftpanels := []Panel{StatusPanel, FilesPanel, BranchesPanel, CommitsPanel, StashPanel} rightpanels := []Panel{MainPanel, SecondaryPanel} - titles := map[Panel]string{ MainPanel: panelZero, StatusPanel: panelOne, FilesPanel: panelTwo, - BranchesPanel: panelThree, CommitsPanel: panelFive, StashPanel: panelFive, SecondaryPanel: panelSix, + BranchesPanel: panelThree, CommitsPanel: panelFour, StashPanel: panelFive, SecondaryPanel: panelSix, } - leftColumn := m.renderPanelColumn(leftpanels, titles, leftSectionWidth) rightColumn := m.renderPanelColumn(rightpanels, titles, rightSectionWidth)