Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(textarea): set the real cursor position #670

Open
wants to merge 4 commits into
base: v2-exp
Choose a base branch
from

Conversation

aymanbagabas
Copy link
Member

This makes the textarea bubble set the real cursor position on update. This need the new "ferocious" renderer to work.

@caarlos0
Copy link
Member

i wonder if it would make more sense to do this in the cursor pkg? 🤔

then it could be used on both textarea, textinput, and others 🤔

@aymanbagabas
Copy link
Member Author

i wonder if it would make more sense to do this in the cursor pkg? 🤔

then it could be used on both textarea, textinput, and others 🤔

We would still need to tell the cursor the offset, otherwise it won't work with inline programs.

@caarlos0
Copy link
Member

Yeah that makes sense 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants