diff --git a/build.sh b/build.sh deleted file mode 100755 index 5ad72f6..0000000 --- a/build.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -set -e - -go build -o ./bin/gemlog-cli diff --git a/internal/ui/entryList.go b/internal/ui/entryList.go index 0331cab..5be6dfc 100644 --- a/internal/ui/entryList.go +++ b/internal/ui/entryList.go @@ -39,7 +39,7 @@ func (m EntryListPageModel) Update(msg tea.Msg, active bool, ctx *context) (Entr m.cursor-- } case "down", "j": - if m.cursor < len(m.entries)-1 { + if m.cursor < len(actions)-1 { m.cursor++ } case "left", "h":