-
Notifications
You must be signed in to change notification settings - Fork 279
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: real cursor in textinput #727
Conversation
Signed-off-by: Carlos Alexandro Becker <[email protected]>
Yep, agreed. For |
tested this on some bubbletea examples, seems to be fine 🙏🏻 |
CompletionStyle lipgloss.Style | ||
// VirtualCursor determines whether or not to use the virtual cursor. If | ||
// set to false, use [Model.Cursor] to return a real cursor for rendering. | ||
VirtualCursor bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So textinput will start with VirtualCursor right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry now I see it is the config to swich
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overral lgmt
PS: we should probably use v2 as an opportunity to standarize some APIs, e.g.: