Skip to content

Commit

Permalink
chore: misc cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed Jul 3, 2024
1 parent f2c9db6 commit a41e302
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions cmd/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,6 @@ func (m Model) handleKeys(msg tea.KeyMsg) (Model, tea.Cmd) {
m.loadContent(m.table.Cursor())
m.table.Focus()
m.filter.Blur()

return m, nil
}
}

Expand Down
2 changes: 1 addition & 1 deletion cmd/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (m *Model) loadContent(id int) {
columns := []table.Column{
{Title: "", Width: 2},
{Title: "Date", Width: 15},
{Title: "Title", Width: m.table.Width() - 25},
{Title: "Title", Width: m.table.Width() - 17},
}

rows := []table.Row{}
Expand Down
2 changes: 1 addition & 1 deletion lib/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func Max(a, b int) int {

func ReadSymbol(read bool) string {
if read {
return " "
return ""
}
return "•"
}

0 comments on commit a41e302

Please sign in to comment.