Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Errorf = func(format string, a ...any) { _, err := fmt.Fprintf(os.Stderr, format, a...) if err != nil { panic(err) } }
Errorf defines an (overridable) function for printing to the console via stderr.
View Source
var Print = func(a ...any) { fmt.Print(a...) }
View Source
var Printf = func(format string, a ...any) { fmt.Printf(format, a...) }
Printf defines an (overridable) function for printing to the console via stdout.
View Source
var Println = func(values ...any) { for _, value := range values { Printf("%v\n", value) } }
Println prints a line with optional values to the console.
Functions ¶
func CreateProgressBar ¶ added in v0.18.0
func CreateProgressBar(description string) *progressbar.ProgressBar
CreateProgressBar creates a new progress bar with the given description and defaults adjusted to zed's UX experience
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.