-
-
Notifications
You must be signed in to change notification settings - Fork 692
Replace tui-textarea by own implementation
#2851
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
base: master
Are you sure you want to change the base?
Conversation
This commit removes methods related to selection from the API.
extrawurst
left a comment
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.
Awesome work! I think for an MVP we can leave out all todos besides the one for the mask input (needed for password inputs)
| } | ||
|
|
||
| fn set_mask_char(&mut self, _char: char) { | ||
| todo!(); |
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.
we will likely need that to support password inputs
This PR is an attempt at unblocking #2827. It removes the dependency on
tui-textareaand implements a component that is mostly API-compatible withTextArea. The new component currently has a reduced API surface, in order to make this initial PR smaller. I hope that I’ve already implemented most of the methods we want to keep using.@extrawurst Some of the methods are still marked as
todo!(). Would you mind having a quick look to let me know which ones we want to have implemented before this can be merged?TODO
set_mask_char