1
0
mirror of https://github.com/muesli/mastotool synced 2024-12-27 18:03:09 +01:00

Add an extra newline before search results

This commit is contained in:
Christian Muehlhaeuser 2020-08-23 06:58:54 +02:00
parent 4414c515df
commit b727b5f719
No known key found for this signature in database
GPG Key ID: 3CF9FA45CA1EBB7E

View File

@ -49,7 +49,7 @@ func search(token string) error {
abort := false
for _, s := range statuses {
if strings.Contains(strings.ToLower(cleanupContent(s.Content)), token) {
fmt.Println("\nFound toot:", cleanupContent(s.Content))
fmt.Println("\n\nFound toot:", cleanupContent(s.Content))
fmt.Println("Date:", s.CreatedAt.Format(time.RFC822))
fmt.Println("URL:", s.URL)
fmt.Println()