Replaced clear command in list pagination to a new line

This commit is contained in:
mitchell 2019-05-30 08:45:11 -07:00
parent b76d5dffa3
commit b2a41cf07c
1 changed files with 1 additions and 5 deletions

View File

@ -3,8 +3,6 @@ package commands
import ( import (
"context" "context"
"fmt" "fmt"
"os"
"os/exec"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"gopkg.in/AlecAivazis/survey.v1" "gopkg.in/AlecAivazis/survey.v1"
@ -49,9 +47,7 @@ includes almost all the information but the most sensitive.`,
break receive break receive
} }
clearCmd := exec.Command("clear") fmt.Println()
clearCmd.Stdout = os.Stdout
check(clearCmd.Run())
} }
fmt.Println(md) fmt.Println(md)