fix scroll and add bulid script
This commit is contained in:
parent
e689d210e7
commit
0233572fd1
2 changed files with 6 additions and 1 deletions
5
build.sh
Executable file
5
build.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
go build -o ./bin/gemlog-cli
|
||||
|
|
@ -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(actions)-1 {
|
||||
if m.cursor < len(m.entries)-1 {
|
||||
m.cursor++
|
||||
}
|
||||
case "left", "h":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue