ref: 6194f0a9b9760f22a4bc0fc27cd37c2113c89a68
parent: 173303fc18778636dc8a25de62056face05eea37
author: penny <penny@limitedideas.org>
date: Tue Nov 11 08:59:15 EST 2025
examine can print debugmaps again
--- a/commands.go
+++ b/commands.go
@@ -1268,13 +1268,20 @@
cmd := &basiccmd{}cmd.hc = hc
cmd.bname = "examine"
- cmd.bflags = account | acc_resolve
+ cmd.bflags = free
cmd.doer = func(data *cmddata) string {- if data.status != nil {- hc.PrintObjectProperties(data.status)
+ if data.found_index || data.dot_index {+ if data.status != nil {+ hc.PrintObjectProperties(data.status)
+ return ""
+ }
+ hc.PrintObjectProperties(data.account)
return ""
}
- hc.PrintObjectProperties(data.account)
+ debugItem, debugOK := hc.debugMap[data.index]
+ if debugOK {+ hc.PrintObjectProperties(debugItem)
+ }
return ""
}
return cmd
--
⑨