Skip to content

Commit 805252c

Browse files
author
Anand
committed
Fix the delimiter (was print === in beginning always)
1 parent 1f521b6 commit 805252c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

actions.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,8 @@ func listAllEntries() error {
390390

391391
if err == nil {
392392
if len(entries) > 0 {
393-
fmt.Println("=====================================================================")
393+
fmt.Printf("%s", getColor(strings.ToLower(settings.Color)))
394+
printDelim(settings.Delim, settings.Color)
394395
for _, entry := range entries {
395396
printEntry(&entry, false)
396397
}
@@ -430,7 +431,9 @@ func findCurrentEntry(term string) error {
430431
if len(entries) == 1 {
431432
delim = true
432433
} else {
433-
fmt.Println("=====================================================================")
434+
_, settings := getOrCreateLocalConfig(APP)
435+
fmt.Printf("%s", getColor(strings.ToLower(settings.Color)))
436+
printDelim(settings.Delim, settings.Color)
434437
}
435438

436439
for _, entry := range entries {

0 commit comments

Comments
 (0)