diff --git a/cmd/sst/init.go b/cmd/sst/init.go index c647ae737..ba8d539dd 100644 --- a/cmd/sst/init.go +++ b/cmd/sst/init.go @@ -127,9 +127,9 @@ func CmdInit(cli *cli.Cli) error { fmt.Println() p := promptui.Select{ + Items: []string{"Yes", "No"}, Label: "‏‏‎ ‎Continue", HideSelected: true, - Items: []string{"Yes", "No"}, HideHelp: true, } diff --git a/cmd/sst/mosaic/ui/footer.go b/cmd/sst/mosaic/ui/footer.go index d395aa5ad..7ea439d29 100644 --- a/cmd/sst/mosaic/ui/footer.go +++ b/cmd/sst/mosaic/ui/footer.go @@ -97,7 +97,9 @@ func (m *footer) Render(width int, next string) { if len(oldLines) > 0 { for i := range oldLines { - out.WriteString(ansi.EraseEntireLine) + if i <= len(oldLines)-len(nextLines) { + out.WriteString(ansi.EraseEntireLine) + } if i < len(oldLines)-1 { out.WriteString(ansi.CursorUp1) }