Signed-off-by: Hadi <hadi@example.com>
This commit is contained in:
Hadi
2026-05-29 13:41:09 +02:00
parent 677223c9b0
commit 61a112a302
6 changed files with 19 additions and 6 deletions
+1
View File
@@ -29,6 +29,7 @@ func resolveEditor() string {
func openWithEditor(content string, callback func(string, error) tea.Msg) tea.Cmd {
f, err := os.CreateTemp("", "spilltea-*.http")
if err != nil {
log.Printf("editor: create temp file: %v", err)
return nil
}
tmpPath := f.Name()