shithub: hell

Download patch

ref: e60aaf56635fe82a2557d34fb22a284c09fa1746
parent: 1efff0597eb6a8cf30f47826a64686df5b62ef49
author: penny <penny@limitedideas.org>
date: Thu Nov 6 13:43:22 EST 2025

fix data.content when index isn't found

--- a/commands.go
+++ b/commands.go
@@ -233,6 +233,7 @@
 		loader.lastaccount = nil
 	} else {
 		postItem, postOK = loader.hc.homeMap[loader.lastindex]
+		content = arguments
 	}
 	var reblogger *mastodon.Status
 	//Okay now see if the post we end up with is a reblog
@@ -437,6 +438,7 @@
 	hc := cmd.Hellclient
 	var err error
 	filename := data.content
+	fmt.Println(data.raw_argument)
 	if filename == "" {
 		filename, err = pickFilename(hc.preferences.FilePicker)
 	}
--- a/readline_plan9.go
+++ b/readline_plan9.go
@@ -97,4 +97,4 @@
 
 func (rl *readline) setWindowTitle(title string) {
 	rl.label.WriteString(title)
-}
\ No newline at end of file
+}
--