Christian Rocha

Results 256 comments of Christian Rocha

Before we get into this I just want to say that I absolutely love your handle.

Hi! So actually `textinput` contains a [`Validate`](https://pkg.go.dev/github.com/charmbracelet/[email protected]/textinput#Model) property which can be used to restrict input to numbers only. The [credit card example](https://github.com/charmbracelet/bubbletea/tree/master/examples/credit-card-form) illustrates how to do this.

So most of these can be done with `textinput` and the plan is to remain that way for maintainability unless there are good reasons to introduce new inputs. You raise...

This all makes sense to me; thanks for the well written writeup, Tom. If this is something you'd indeed like to work on, by all means go for it.

Thanks for the issue! So as a baseline, we should definitely strip ansi from placeholders. Then the question becomes: should we allow placeholders to be styled as well? I _think_...

Also, for context, note that we also have https://github.com/charmbracelet/bubbles/pull/76. I think that in an ideal scenario we offer options for both compact and expanded views.

Thanks for adding these. It looks like, JetBrains Mono, the typeface we usually use it missing. Do you mind re-generating with the font installed?

Interesting. Mind sharing your `tape` files so we can diagnose accordingly?

Hi! So technically speaking you shouldn't use `Init` to initialize your model; its job is _just_ to return an initial command. To pass the window width and height when switching...

Reading this again, perhaps a `Cmd` for requesting the window size would indeed be useful.