From 88eb85a7cea0b738d013bfbf328fabaacc1d15c8 Mon Sep 17 00:00:00 2001 From: Ayush Date: Sat, 31 Jan 2026 21:09:05 +0530 Subject: [PATCH] fix: commits panel name Signed-off-by: Ayush --- internal/tui/view.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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)