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
1 changed files with 1 additions and 1 deletions

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()