aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/query
diff options
context:
space:
mode:
authorJP Appel <jeanpierre.appel01@gmail.com>2025-07-18 17:14:40 -0400
committerJP Appel <jeanpierre.appel01@gmail.com>2025-07-18 17:14:40 -0400
commit493b08d185c784069f45be410eb9dc8d556dfb6d (patch)
tree5c55b2457cfe7e95d870be601a73d2eb3c6be85b /pkg/query
parent295f35e901f2088f54b66bd8bb0c0646d8e8c181 (diff)
Add newline to default outputer
Diffstat (limited to 'pkg/query')
-rw-r--r--pkg/query/outputs.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/query/outputs.go b/pkg/query/outputs.go
index 92331ef..af00bdf 100644
--- a/pkg/query/outputs.go
+++ b/pkg/query/outputs.go
@@ -100,6 +100,7 @@ func (o DefaultOutput) writeDoc(w io.Writer, doc *index.Document) (int, error) {
[]byte(strings.Join(doc.Authors, ",")),
[]byte(" tags:"),
[]byte(strings.Join(doc.Tags, ",")),
+ {'\n'},
}
for _, b := range s {
cnt, err := w.Write(b)