Skip to content

Commit

Permalink
fix missing cursor. see also wagoodman#74
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Koop committed Apr 11, 2022
1 parent d32946b commit 24523f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ var runCmd = &cobra.Command{
yamlString, err := ioutil.ReadFile(cli.YamlPath)
utils.CheckError(err, "Unable to read yaml config.")

fmt.Print("\033[?25l") // hide cursor
fmt.Print("\033[?25l") // hide cursor
defer fmt.Print("\033[?25h") // show cursor
Run(yamlString, cli)

},
Expand Down

0 comments on commit 24523f9

Please sign in to comment.