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 (
|
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)
|
||||||
|
|
Loading…
Reference in New Issue