mirror of
https://github.com/zoriya/bubbles.git
synced 2026-08-16 01:43:21 +00:00
fix: cursor actually need to take the renderer too
This commit is contained in:
@@ -249,7 +249,7 @@ type Model struct {
|
||||
func New(ctx *tea.Context) Model {
|
||||
vp := viewport.New(ctx, 0, 0)
|
||||
vp.KeyMap = viewport.KeyMap{}
|
||||
cur := cursor.New()
|
||||
cur := cursor.New(ctx)
|
||||
|
||||
focusedStyle, blurredStyle := DefaultStyles(ctx.Renderer)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user