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

Patrickb add rich text #24

Open
wants to merge 37 commits into
base: main
Choose a base branch
from

Conversation

patrickbkr
Copy link

I obviously forgot to open this PR. Even tough the code has been lying around for quite a while now.

patrickbkr added 30 commits May 16, 2024 23:52
Both inherited T-W::Widget which prevented inheriting from them at
the same time. Fix this by not having T-W::Input inherit from
T-W::Widget anymore. Push the `is` down to the T-W::Input consumers.
Not all widgets that want to be focusable are inputs.
including converting from display indexes back to line indexes.
- Cursor can now jump to the next / previous line.
- When cursor pos is beyond the last char (happens when moving between
lines), don't require two left keystrokes to move left.
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.

1 participant