diff --git a/commit.sh b/commit.sh index c17d05a..729c383 100755 --- a/commit.sh +++ b/commit.sh @@ -1,6 +1,6 @@ #!/bin/sh gofmt -l -w -s ./src/cli/*.go gofmt -l -w -s ./src/offline/*.go -git add -f extra glamour-styles src .gitignore commit.sh go.mod go.sum LICENSE main.go README.md +git add -f extra src .gitignore commit.sh go.mod go.sum LICENSE main.go README.md git commit -m "$1" git push diff --git a/src/cli/entryReader.go b/src/cli/entryReader.go index 2eab326..c4ca6d6 100644 --- a/src/cli/entryReader.go +++ b/src/cli/entryReader.go @@ -51,6 +51,9 @@ func EntryReader(decryptedEntry []string, hidePassword bool, sync bool) { // print markdown-rendered notes fmt.Print(markdownNotesString) + + // break after all lines have been printed + break } }