dont do raw.New, instead add raw.Raw.Refresh explicit
This commit is contained in:
@@ -13,8 +13,9 @@ type Input interface {
|
||||
}
|
||||
|
||||
func New(ctx context.Context) Input {
|
||||
src := raw.New(ctx)
|
||||
return wrap.New(ctx, func() button.Parser {
|
||||
src := raw.New(ctx)
|
||||
src.Refresh()
|
||||
return button.New(ctx, src)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user