From b2a41cf07c775de46a29f305cf625e25c0ba2f8a Mon Sep 17 00:00:00 2001 From: mitchell Date: Thu, 30 May 2019 08:45:11 -0700 Subject: [PATCH] Replaced clear command in list pagination to a new line --- credentials/commands/list.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/credentials/commands/list.go b/credentials/commands/list.go index 3f97331..28bb0ae 100644 --- a/credentials/commands/list.go +++ b/credentials/commands/list.go @@ -3,8 +3,6 @@ package commands import ( "context" "fmt" - "os" - "os/exec" "github.com/spf13/cobra" "gopkg.in/AlecAivazis/survey.v1" @@ -49,9 +47,7 @@ includes almost all the information but the most sensitive.`, break receive } - clearCmd := exec.Command("clear") - clearCmd.Stdout = os.Stdout - check(clearCmd.Run()) + fmt.Println() } fmt.Println(md)