feat(textarea/textinput): support overwrite mode
For use with https://github.com/charmbracelet/bubbletea/pull/418.
cc @muesli @maaslalani
@knz Mind rebasing this for us?
Done, but note that for this to build properly it needs a release of bubbletea that contains https://github.com/charmbracelet/bubbletea/pull/418
Otherwise, I'd need to update the textinput bubble to use key.Binding (which is what textarea does already). I know we've talked with @maaslalani about this but I don't have a PR for it yet.
Alternatively I can rebase this on top of #270 so it does not need a go.mod update immediately. WDYT?
Ok, done. This is now ready.
@maaslalani anything else you'd like to happen here?
Hey! I think this might make sense in a perhaps opt-in setting for the textarea.
We also have vim-mode support (potentially):
- #207
So, I think we might be able to make these, either opt-in, or part of a separate (more fully-featured textarea).
I will close this for now since I'm cleaning up some old PRs, but feel free to reopen as I think it does make sense in the future.