ref: 1389447da976e939392467abbf3420fc14851f15
parent: 320cebac7a88a9278efa314fafa019e37536c644
author: penny <penny@limitedideas.org>
date: Mon Aug 18 19:00:21 EDT 2025
Fix rm recentpost interaction
--- a/main.go
+++ b/main.go
@@ -94,6 +94,7 @@
postItem, postOK := homeMap[index]
debugItem, debugOK := debugMap[index]
+ //If there's no index selected load the last post we operated on
if postOK {lastindex = index
} else {@@ -109,7 +110,7 @@
hc.pause(false)
return
case "rm":
- if !postOK && recentpost != nil {+ if index == "" && recentpost != nil {err = client.DeleteStatus(context.Background(), recentpost.ID)
if err != nil {fmt.Println(err)
--
⑨