func WithPromptString(s string) Option {
	return func(o *opt) {
		o.promptString = s
	}
}
WithPromptString changes the prompt string. The default value is "> ".
package fuzzyfinder
type opt struct {
	mode         mode
	previewFunc  func(i, width, height int) string
	multi        bool
	hotReload    bool
	promptString string
	header       string
}
type mode int
const (
	ModeSmart mode = iota
	ModeCaseSensitive
	ModeCaseInsensitive
)
var defaultOption = opt{
	promptString: "> ",
}
type Option func(*opt)
func WithMode(m mode) Option {
	return func(o *opt) {
		o.mode = m
	}
}
func WithPreviewWindow(f func(i, width, height int) string) Option {
	return func(o *opt) {
		o.previewFunc = f
	}
}
func WithHotReload() Option {
	return func(o *opt) {
		o.hotReload = true
	}
}