|
@@ -49,14 +49,14 @@ func (s sessionItem) Render(selected bool, width int) string {
|
|
|
// Red background for delete confirmation
|
|
// Red background for delete confirmation
|
|
|
itemStyle = baseStyle.
|
|
itemStyle = baseStyle.
|
|
|
Background(t.Error()).
|
|
Background(t.Error()).
|
|
|
- Foreground(t.Background()).
|
|
|
|
|
|
|
+ Foreground(t.BackgroundElement()).
|
|
|
Width(width).
|
|
Width(width).
|
|
|
PaddingLeft(1)
|
|
PaddingLeft(1)
|
|
|
} else {
|
|
} else {
|
|
|
// Normal selection
|
|
// Normal selection
|
|
|
itemStyle = baseStyle.
|
|
itemStyle = baseStyle.
|
|
|
Background(t.Primary()).
|
|
Background(t.Primary()).
|
|
|
- Foreground(t.Background()).
|
|
|
|
|
|
|
+ Foreground(t.BackgroundElement()).
|
|
|
Width(width).
|
|
Width(width).
|
|
|
PaddingLeft(1)
|
|
PaddingLeft(1)
|
|
|
}
|
|
}
|