-
Notifications
You must be signed in to change notification settings - Fork 132
wip: rewrite ui rendering #389
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
Conversation
b04c43f to
171c660
Compare
|
mWalrus@7a09a1c While I think my approach would improve performance a bit, I'm not sure whether I like it from a readability perspective and there are still improvements to be made in both areas. I would like your opinions on my current work before I continue any further! I've yet to test any of this as my current branch doesn't compile :P |
|
@mWalrus sweet. Looks like a good start! I'll try add some comments. I actually realized something that might be useful. May not need to store
|
Ahh, true! That's a neat idea. I think that should be doable. Looking into that now :) |
6aa7a5c to
6fe0282
Compare
6fe0282 to
355f4b3
Compare
|
I've kind of realized a few things since i started:
|
|
@altsem, |
|
@mWalrus i did! But realised it it had some flaws, and decided to stop. I had a mockup of the layout in Gitu. I'll see if I can wrap it up, and I'll share it here again |
|
Alright, I see, cool! I'd love to have a look around that repo. Vacation is approaching for me as well finally! :) |
|
https://github.com/altsem/layzer Public again! There's a test in there to try render out a mock of Gitu's UI. |
|
I'm closing this down in interest of time. If I were to start again, I'd look into incorporating a library like Clay. |
Leaving this here as a separate dev-branch for rewriting ui things.
As soon as we're on feature-parity with master, this could be merged.
There's TODOs left in the code, and to contribute, simply drop a PR in to this branch.
The gist is to:
Text/Line/Spanof Ratatuisrc/prompt.rssrc/screen.rs's navigation relies on lines not wrapping. This will need to be fixed.relates to: #277