From 4ddddb4cb0b7ee12f3173b01e6b546db803beaca Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Mon, 6 Jul 2026 09:35:03 +0200 Subject: [PATCH] add newline after each doc in search output --- pkg/printer/doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/printer/doc.go b/pkg/printer/doc.go index 7b5a5e0..e64ae7f 100644 --- a/pkg/printer/doc.go +++ b/pkg/printer/doc.go @@ -52,6 +52,6 @@ func PrintDoc(conf *cfg.Config, hit types.Hit) { value := gjson.Get(docjson, conf.Path) fmt.Println(value.String()) } else { - fmt.Print(docjson) + fmt.Println(docjson) } }