Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tui/mainModel.go
Original file line number Diff line number Diff line change
Expand Up @@ -647,9 +647,9 @@ func (m MainModel) View() string {
var style lipgloss.Style
isFirst, isLast, isActive := i == 0, i == len(m.Tabs)-1, i == int(m.activeTab)
if isActive {
style = activeTabStyle.Copy()
style = activeTabStyle
} else {
style = inactiveTabStyle.Copy()
style = inactiveTabStyle
}
border, _, _, _, _ := style.GetBorder()
if isFirst && isActive {
Expand Down
2 changes: 1 addition & 1 deletion tui/styles.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var (
docStyle = lipgloss.NewStyle().Padding(0, 1, 0, 2)
highlightColor = lipgloss.AdaptiveColor{Light: "#874BFD", Dark: "#7D56F4"}
inactiveTabStyle = lipgloss.NewStyle().Border(inactiveTabBorder, true).BorderForeground(highlightColor).Padding(0, 1)
activeTabStyle = inactiveTabStyle.Copy().Border(activeTabBorder, true)
activeTabStyle = inactiveTabStyle.Border(activeTabBorder, true)
fillerStyle = lipgloss.NewStyle().Foreground(highlightColor)
// The outer most visible border, this encloses all the elements on screen (except for dialogs, for now)
windowStyle = lipgloss.NewStyle().
Expand Down