mirror of https://github.com/mitchell/selfpass.git
Replaced clear command in list pagination to a new line
This commit is contained in:
parent
b76d5dffa3
commit
b2a41cf07c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue