Add text input example using tui-textarea#74
Merged
orhun merged 4 commits intoratatui:mainfrom Apr 9, 2025
Merged
Conversation
orhun
reviewed
Apr 8, 2025
Member
orhun
left a comment
There was a problem hiding this comment.
Just tested it and this looks good to me overall!
Had some suggestions for improvements :)
Closed
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Contributor
Author
|
@orhun Thanks for the quick feedback and suggestions! I've accepted your suggestions, renamed the example ( Don't hesitate to let me know if there are any other adjustments you'd like me to make. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Includes these two changes:
textareaexample usingtui-textarea, which conveniently allows pluggable input.REVERSEmodifier to both backends; this seems to be used by many input widgets to render cursors, and is needed for this example.Please let me know if you'd prefer this be split up into multiple separate PRs. And of course, would be great to get any feedback! This was the first step for me to experiment with using
ratzillato run an interactive shell.Screenshot:
