make right and left navigate; add git commit to plist

This commit is contained in:
2025-05-10 22:25:23 -04:00
parent f56a0e4592
commit 45ad257097
2 changed files with 3 additions and 3 deletions

View File

@@ -232,7 +232,7 @@ func main() {
// list closed by 'a'
destroyFileList(true)
}
case "Up":
case "Up", "Right":
if curr > 0 {
updateImage(filepath.Join(directoryState.currentDirectory, directoryState.images[curr-1]), img)
if lb != nil {
@@ -241,7 +241,7 @@ func main() {
lb.See(curr - 1)
}
}
case "Down":
case "Down", "Left":
if curr < len(directoryState.images)-1 && curr != -1 {
updateImage(filepath.Join(directoryState.currentDirectory, directoryState.images[curr+1]), img)
if lb != nil {