diff options
| author | Paul Bütow <1224732+snonux@users.noreply.github.com> | 2025-06-21 16:42:01 +0300 |
|---|---|---|
| committer | Paul Bütow <1224732+snonux@users.noreply.github.com> | 2025-06-21 16:42:01 +0300 |
| commit | b53da415ee2347d9f6b10c2e1c3256f0a9ccca67 (patch) | |
| tree | a9254f11feaac886f285c4442190111a723eecb8 | |
| parent | eb2177920e88113d9e3d22d98e82054a035c8d64 (diff) | |
highlight entire row
| -rw-r--r-- | internal/atable/table.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/atable/table.go b/internal/atable/table.go index 7251b11..03e946f 100644 --- a/internal/atable/table.go +++ b/internal/atable/table.go @@ -482,6 +482,12 @@ func (m *Model) renderRow(r int) string { continue } style := m.styles.Cell + if r == m.cursor { + style = style. + Background(lipgloss.Color("57")). + Foreground(lipgloss.Color("0")). + Bold(false) + } if r == m.cursor && i == m.colCursor { style = m.styles.Selected } |
