MCPcopy
hub / github.com/cli/cli / clear

Function clear

pkg/cmd/repo/credits/credits.go:295–301  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

293}
294
295func clear() {
296 // on windows we'd do cmd := exec.Command("cmd", "/c", "cls"); unfortunately the draw speed is so
297 // slow that the animation is very jerky, flashy, and painful to look at.
298 cmd := exec.Command("clear")
299 cmd.Stdout = os.Stdout
300 _ = cmd.Run()
301}
302
303var thankYou = `
304 _ _

Callers 1

creditsRunFunction · 0.70

Calls 2

CommandMethod · 0.80
RunMethod · 0.65

Tested by

no test coverage detected