shithub: hell

Download patch

ref: edb969542027b435ece5aae776f0de3c6ff5856a
parent: 50819e2b5e6275ec6b2633522acfe33aeadf9ce4
author: penny <penny@limitedideas.org>
date: Fri Oct 3 17:17:50 EDT 2025

gofmt pass

--- a/filehandler.go
+++ b/filehandler.go
@@ -1,6 +1,8 @@
 package main
 
 import (
+	"bytes"
+	"context"
 	"fmt"
 	"io"
 	"net/http"
@@ -9,13 +11,10 @@
 	"os/exec"
 	"path"
 	"path/filepath"
-	"context"
-	"bytes"
 
 	mastodon "codeberg.org/penny64/hellclient-go-mastodon"
 	"github.com/google/shlex"
 )
-
 
 func openItemInOS(command string, url string) {
 	cmdstring := fmt.Sprintf(command, url)
--- a/hellclient.go
+++ b/hellclient.go
@@ -168,7 +168,7 @@
 	}
 
 	prompt := &PromptBar{prompt: "Hell> ", rl: rl}
-	
+
 	attacher := &StatusAttachmentHolder{Hellclient: &hc}
 
 	prompt.items = []PromptItem{
--- a/prompt.go
+++ b/prompt.go
@@ -68,6 +68,7 @@
 type PauseIndicator struct {
 	*Hellclient
 }
+
 // Display whether the client is paused or not
 func (pi *PauseIndicator) Update() (string, bool, error) {
 	if pi.isPaused {
@@ -82,7 +83,7 @@
 		return "", false, nil
 	}
 	var sb strings.Builder
-	
+
 	sb.WriteString("ATTACHED:[")
 	for item := range sam.attachments {
 		sb.WriteString(sam.attachments[item].Type)
--