Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( KEYWORD_TEXT = janet.Keyword("text") KEYWORD_NODE = janet.Keyword("node") KEYWORD_REPLAY = janet.Keyword("replay") )
View Source
var BottomRight stories.InitFunc = func(ctx context.Context) (mux.Screen, error) { location := geom.DEFAULT_SIZE location.C -= 1 location.R -= 1 return NewFuzzy( ctx, pokemonText, WithInline(location, geom.DEFAULT_SIZE), ), nil }
View Source
var FullBottom stories.InitFunc = func(ctx context.Context) (mux.Screen, error) { f := NewFuzzy( ctx, pokemonText, ) return f, nil }
View Source
var FullBottomTable stories.InitFunc = func(ctx context.Context) (mux.Screen, error) { f := NewFuzzy( ctx, pokemonTable, WithHeaders("Name", "#", "Type"), ) return f, nil }
View Source
var FullTop stories.InitFunc = func(ctx context.Context) (mux.Screen, error) { f := NewFuzzy( ctx, pokemonText, WithReverse, ) return f, nil }
View Source
var FullTopTable stories.InitFunc = func(ctx context.Context) (mux.Screen, error) { f := NewFuzzy( ctx, pokemonTable, WithReverse, WithHeaders("Name", "#", "Type"), ) return f, nil }
View Source
var Search stories.InitFunc = func(ctx context.Context) (mux.Screen, error) { f := NewFuzzy( ctx, pokemonText, WithInline(geom.Size{}, geom.DEFAULT_SIZE), ) stories.Send(f, "Pid") return f, nil }
View Source
var TopLeft stories.InitFunc = func(ctx context.Context) (mux.Screen, error) { return NewFuzzy( ctx, pokemonText, WithInline(geom.Size{}, geom.DEFAULT_SIZE), ), nil }
View Source
var TopLeftTable stories.InitFunc = func(ctx context.Context) (mux.Screen, error) { return NewFuzzy( ctx, pokemonTable, WithHeaders("Name", "#", "Type"), WithInline(geom.Size{}, geom.DEFAULT_SIZE), ), nil }
Functions ¶
func WithReverse ¶ added in v0.1.6
func WithSticky ¶ added in v0.1.6
Don't allow Fuzzy to quit.
Types ¶
type AttachEvent ¶ added in v0.1.5
type AttachEvent struct {
// contains filtered or unexported fields
}
type DetachEvent ¶ added in v0.1.5
type DetachEvent struct { }
type Option ¶
type SelectedEvent ¶ added in v0.1.6
type SelectedEvent struct {
Option Option
}
type Setting ¶ added in v0.1.6
func WithAnimation ¶ added in v0.1.6
func WithHeaders ¶ added in v0.1.11
func WithInline ¶ added in v0.1.6
Displays Fuzzy as a small window at this location on the screen.
func WithPrompt ¶ added in v0.1.6
func WithResult ¶ added in v0.1.6
func WithResult(result chan<- interface{}) Setting
Click to show internal directories.
Click to hide internal directories.