You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So after a checklist i run ClearScreen() but it looks as if the old values are still showing from before. Below are some screen shots and basically the code im running.
shell.AddCmd(&ishell.Cmd{
Name: "checklist",
Help: "checklist prompt",
Func: func(c *ishell.Context) {
choices := c.Checklist(options, text, nil)
if len(choices) > 0 && choices[0] != -1 {
c.ClearScreen()
c.Println(green("Modules that were updated!!!"))
for _, i := range choices {
c.Println(options[i])
}
}
shell.Close()
},
})
The text was updated successfully, but these errors were encountered:
I am Facing the same issue. Seems to be some problem in github.com/abiosoft/readline. This can be resolved easily although. I have raised a PR. Just needed to modify the clearScreen function a bit in utils_unix.go
So after a checklist i run ClearScreen() but it looks as if the old values are still showing from before. Below are some screen shots and basically the code im running.
The text was updated successfully, but these errors were encountered: